3 # Makefile for http_protocol_module_base unit test frameworks.
6 TARGET = http_protocol_module_base_ut
8 CPPFLAGS = -O0 -g -Werror -Wall -pthread -DMAX_BUFFER_SIZE=65535 -DDEBUG
9 INCLUDES = -I../../../logger \
10 -I../../../parameter \
12 -I../../../module/protocol \
14 LIBS = -lboost_system-gcc41-mt \
15 -lboost_thread-gcc41-mt \
16 -lboost_regex-gcc41-mt \
17 -lboost_unit_test_framework-gcc41-mt
22 ../../../module/protocol/http_protocol_module_base.cpp \
23 http_protocol_module_base_test.cpp
28 $(CPP) $(CPPFLAGS) $(INCLUDES) -c $< -o $@
30 OBJS = $(SRCS:.cpp=.o)
35 $(CPP) $(INCLUDES) -o $@ $(OBJS) $(LIBS)
38 rm -f $(TARGET) $(OBJS)