2017-02-02 19:10:12 +00:00
|
|
|
CC = gcc
|
2018-11-29 12:15:27 +00:00
|
|
|
CFLAGS = $(INCLUDE) -O0 -Wall
|
2017-02-02 19:10:12 +00:00
|
|
|
|
|
|
|
ifdef DEBUG
|
|
|
|
CFLAGS += -g3
|
|
|
|
endif
|
|
|
|
|
|
|
|
LFLAGS =
|
|
|
|
DEPS =
|
2017-11-20 00:29:40 +00:00
|
|
|
OBJS = sctp.o socket.o tcp.o udp.o multistream.o protocol.o connectionstream.o stream.o server.o
|
2017-02-02 19:10:12 +00:00
|
|
|
|
|
|
|
%.o: %.c $(DEPS)
|
|
|
|
$(CC) -c -o $@ $< $(CFLAGS)
|
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o
|