c-libp2p/utils/Makefile

19 lines
289 B
Makefile
Raw Permalink Normal View History

CC = gcc
2017-03-21 15:08:01 +00:00
CFLAGS = -O0 -Wall -I../include -I../../c-multiaddr/include -std=c99
ifdef DEBUG
CFLAGS += -g3
endif
LFLAGS =
DEPS =
2017-11-20 00:29:40 +00:00
OBJS = string_list.o vector.o linked_list.o logger.o urlencode.o thread_pool.o
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
all: $(OBJS)
clean:
rm -f *.o