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-08-09 13:03:40 +00:00
|
|
|
OBJS = sctp.o socket.o tcp.o udp.o multistream.o protocol.o
|
2017-02-02 19:10:12 +00:00
|
|
|
|
|
|
|
%.o: %.c $(DEPS)
|
|
|
|
$(CC) -c -o $@ $< $(CFLAGS)
|
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o
|