d3858ffc26
Now major include files are comming from main Makefile, module need to add just their specific include path. To work make the include path absolute.
18 lines
279 B
Makefile
18 lines
279 B
Makefile
CC = gcc
|
|
CFLAGS = $(INCLUDE) -O0 -Wall -std=c99
|
|
|
|
ifdef DEBUG
|
|
CFLAGS += -g3
|
|
endif
|
|
|
|
LFLAGS =
|
|
DEPS =
|
|
OBJS = string_list.o vector.o linked_list.o logger.o urlencode.o thread_pool.o threadsafe_buffer.o
|
|
|
|
%.o: %.c $(DEPS)
|
|
$(CC) -c -o $@ $< $(CFLAGS)
|
|
|
|
all: $(OBJS)
|
|
|
|
clean:
|
|
rm -f *.o
|