3 # Makefile for tcp_data_test Class unit test frameworks.
8 CPPFLAGS = -O0 -g -Werror -Wall -pthread -DMAX_BUFFER_SIZE=65535 -DDEBUG
9 INCLUDES = -I../logger_stb \
10 -I../../../parameter \
14 LIBS = -lboost_system-gcc41-mt \
15 -lboost_thread-gcc41-mt \
16 -lboost_unit_test_framework-gcc41-mt
21 ../logger_stb/logger.cpp \
22 ../../../src/tcp_data.cpp \
27 $(CPP) $(CPPFLAGS) $(INCLUDES) -c $< -o $@
29 OBJS = $(SRCS:.cpp=.o)
34 $(CPP) $(INCLUDES) -o $@ $(OBJS) $(LIBS)
37 rm -f $(TARGET) $(OBJS)