c-libp2p/utils/Makefile

19 lines
217 B
Makefile
Raw Normal View History

CC = gcc
CFLAGS = -O0 -Wall -I../include
ifdef DEBUG
CFLAGS += -g3
endif
LFLAGS =
DEPS =
2017-02-20 13:19:22 +00:00
OBJS = string_list.o vector.o linked_list.o
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
all: $(OBJS)
clean:
rm -f *.o