2016-02-23 22:19:30 +00:00
|
|
|
TRICK_CFLAGS += -I./models
|
2022-12-14 23:04:09 +00:00
|
|
|
TRICK_CXXFLAGS += -I./models -I$(GTEST_HOME)/include -std=c++11
|
2016-02-23 22:19:30 +00:00
|
|
|
|
2022-12-05 21:24:20 +00:00
|
|
|
all: test_client
|
|
|
|
clean: clean_test_client
|
|
|
|
|
2022-12-14 23:04:09 +00:00
|
|
|
TEST_CLIENT_LIBS += -L${GTEST_HOME}lib64 -L${GTEST_HOME}lib -lgtest -lgtest_main -lpthread
|
2022-12-05 21:24:20 +00:00
|
|
|
|
2022-12-14 23:04:09 +00:00
|
|
|
test_client: models/test_client/test_client.cpp
|
|
|
|
cd models/test_client; $(TRICK_CXX) test_client.cpp $(TRICK_SYSTEM_LDFLAGS) $(TRICK_CXXFLAGS) -o test_client $(TEST_CLIENT_LIBS) -std=c++11
|
2022-12-05 21:24:20 +00:00
|
|
|
|
|
|
|
clean_test_client:
|
2022-12-14 23:04:09 +00:00
|
|
|
rm -f models/test_client/test_client
|