2017-02-06 17:11:22 -05:00
|
|
|
CC = gcc
|
2018-11-29 07:15:27 -05:00
|
|
|
CFLAGS = $(INCLUDE) -O0 -Wall -std=c99
|
2017-02-06 17:11:22 -05:00
|
|
|
|
|
|
|
ifdef DEBUG
|
|
|
|
CFLAGS += -g3
|
|
|
|
endif
|
|
|
|
|
|
|
|
LFLAGS =
|
|
|
|
DEPS =
|
2017-11-30 14:32:36 -05:00
|
|
|
OBJS = string_list.o vector.o linked_list.o logger.o urlencode.o thread_pool.o threadsafe_buffer.o
|
2017-02-06 17:11:22 -05:00
|
|
|
|
|
|
|
%.o: %.c $(DEPS)
|
|
|
|
$(CC) -c -o $@ $< $(CFLAGS)
|
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o
|