Updated makefiles, locations of sample apps

This commit is contained in:
Joseph Henry
2017-08-17 14:35:14 -07:00
parent a43fa8ebd2
commit f1381e3cfa
9 changed files with 84 additions and 3 deletions

View File

@@ -252,6 +252,14 @@ $(TEST_BUILD_DIR)/%: $(UNIT_TEST_SRC_DIR)/%.cpp
tests: $(UNIT_TEST_OBJ_FILES)
intercept:
@$(CXX) $(CXXFLAGS) $(UNIT_TEST_INCLUDES) examples/intercept/intercept.cpp -D_GNU_SOURCE -shared -o $(BUILD)/intercept.so $< $(UNIT_TEST_LIBS) -ldl
@./check.sh $(BUILD)/intercept.so
ztproxy:
@$(CXX) $(CXXFLAGS) $(UNIT_TEST_INCLUDES) examples/ztproxy/ztproxy.cpp -o $(BUILD)/ztproxy $< $(UNIT_TEST_LIBS) -ldl
@./check.sh $(BUILD)/ztproxy
##############################################################################
## Misc ##
##############################################################################