-
Notifications
You must be signed in to change notification settings - Fork 36
/
Makefile.win32
29 lines (20 loc) · 903 Bytes
/
Makefile.win32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
SRC=src
SRCS = $(SRC)/bridge.c $(SRC)/debug.c $(SRC)/getcmd.c $(SRC)/ip.c $(SRC)/init.c $(SRC)/modem_core.c $(SRC)/nvt.c $(SRC)/serial.c $(SRC)/ip232.c $(SRC)/util.c $(SRC)/phone_book.c $(SRC)/shared.c $(SRC)/tcpser.c $(SRC)/line.c $(SRC)/dce.c
OBJS = $(SRC)/bridge.o $(SRC)/debug.o $(SRC)/getcmd.o $(SRC)/ip.o $(SRC)/init.o $(SRC)/modem_core.o $(SRC)/nvt.o $(SRC)/serial.o $(SRC)/ip232.o $(SRC)/util.o $(SRC)/phone_book.o $(SRC)/shared.o $(SRC)/tcpser.o $(SRC)/dce.o $(SRC)/line.o
CC = gcc
DEF =
CFLAGS = -O $(DEF) -Wall -DWIN32
LDFLAGS =
DEPEND = makedepend $(DEF) $(CFLAGS)
all: tcpser
#.o.c:
# $(CC) $(CFLAGS) -c $*.c
$(SRCS):
$(CC) $(CFLAGS) -c $*.c
tcpser: $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS)
depend: $(SRCS)
$(DEPEND) $(SRCS)
clean:
-rm tcpser.exe *.bak $(SRC)/*~ $(SRC)/*.o $(SRC)/*.bak core
# DO NOT DELETE THIS LINE -- make depend depends on it.