2017-02-02 19:10:12 +00:00
|
|
|
CC = gcc
|
2017-04-04 01:54:41 +00:00
|
|
|
CFLAGS = -O0 -Wall -I../include -I../../c-protobuf -I../../c-multiaddr/include
|
2017-02-02 19:10:12 +00:00
|
|
|
|
|
|
|
ifdef DEBUG
|
|
|
|
CFLAGS += -g3
|
|
|
|
endif
|
|
|
|
|
|
|
|
LFLAGS =
|
|
|
|
DEPS =
|
2017-10-23 20:21:50 +00:00
|
|
|
OBJS = sctp.o socket.o tcp.o udp.o multistream.o protocol.o connectionstream.o
|
2017-02-02 19:10:12 +00:00
|
|
|
|
|
|
|
%.o: %.c $(DEPS)
|
|
|
|
$(CC) -c -o $@ $< $(CFLAGS)
|
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o
|