c-libp2p/net/Makefile
Radu Iliescu d3858ffc26 Makefile: refactor include files
Now major include files are comming from main Makefile,
module need to add just their specific include path.
To work make the include path absolute.
2018-11-29 07:15:27 -05:00

18 lines
268 B
Makefile

CC = gcc
CFLAGS = $(INCLUDE) -O0 -Wall
ifdef DEBUG
CFLAGS += -g3
endif
LFLAGS =
DEPS =
OBJS = sctp.o socket.o tcp.o udp.o multistream.o protocol.o connectionstream.o stream.o server.o
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
all: $(OBJS)
clean:
rm -f *.o