2017-02-06 22:11:22 +00:00
|
|
|
CC = gcc
|
2017-03-21 15:08:01 +00:00
|
|
|
CFLAGS = -O0 -Wall -I../include -I../../c-multiaddr/include -std=c99
|
2017-02-06 22:11:22 +00:00
|
|
|
|
|
|
|
ifdef DEBUG
|
|
|
|
CFLAGS += -g3
|
|
|
|
endif
|
|
|
|
|
|
|
|
LFLAGS =
|
|
|
|
DEPS =
|
2017-09-25 18:36:50 +00:00
|
|
|
OBJS = string_list.o vector.o linked_list.o logger.o urlencode.o
|
2017-02-06 22:11:22 +00:00
|
|
|
|
|
|
|
%.o: %.c $(DEPS)
|
|
|
|
$(CC) -c -o $@ $< $(CFLAGS)
|
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o
|