c-libp2p/utils/Makefile

19 lines
260 B
Makefile
Raw Normal View History

CC = gcc
2017-03-02 21:14:52 +00:00
CFLAGS = -O0 -Wall -I../include -I../../c-multiaddr/include
ifdef DEBUG
CFLAGS += -g3
endif
LFLAGS =
DEPS =
2017-03-02 21:14:52 +00:00
OBJS = string_list.o vector.o linked_list.o multiaddress.o
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
all: $(OBJS)
clean:
rm -f *.o