trick/test/SIM_test_varserv/S_overrides.mk

15 lines
560 B
Makefile
Raw Normal View History

2023-01-11 15:27:30 +00:00
TRICK_CFLAGS += -I./models
2023-01-11 15:27:30 +00:00
TRICK_CXXFLAGS += -I./models
all: test_client
clean: clean_test_client
2023-01-11 15:27:30 +00:00
TEST_CLIENT_LIBS += -L${GTEST_HOME}/lib64 -L${GTEST_HOME}/lib -lgtest -lgtest_main -lpthread -L${TRICK_LIB_DIR} -ltrick_var_binary_parser
2023-01-11 15:27:30 +00:00
test_client: models/test_client/test_client.cpp
cd models/test_client; $(TRICK_CXX) test_client.cpp -o test_client $(TRICK_CXXFLAGS) $(TRICK_SYSTEM_CXXFLAGS) $(TRICK_TEST_FLAGS) -Wno-write-strings -Wno-sign-compare -I$(TRICK_HOME)/include $(TEST_CLIENT_LIBS)
clean_test_client:
rm -f models/test_client/test_client