From 17585d1ee6a9c9b42b8bf89d0e9a574352fed89f Mon Sep 17 00:00:00 2001 From: heck Date: Sun, 23 May 2021 19:02:53 +0200 Subject: [PATCH] Test: Add pEpTest to the build --- test/Makefile | 13 ++++++++++--- test/pEpTest/Makefile | 1 - 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/test/Makefile b/test/Makefile index 759c5cc..04a136c 100644 --- a/test/Makefile +++ b/test/Makefile @@ -22,14 +22,18 @@ OBJ_FRAMEWORK=$(subst .cc,.o,$(SRC_FRAMEWORK)) # -include $(DEPENDS) #endif -.PHONY: all clean rmtestdata +.PHONY: all clean rmtestdata peptest peptest_clean .DEFAULT_GOAL := all -all: $(BIN_TEST) +all: $(BIN_TEST) peptest $(BIN_TEST): $(OBJ_FRAMEWORK) -clean: +peptest: + $(MAKE) -C pEpTest + + +clean: peptest_clean rm -f $(BIN_TEST) rm -f $(OBJ_FRAMEWORK) rm -Rf *.dSYM @@ -37,5 +41,8 @@ clean: rm -f *.o rm -Rf /tmp/test_pEp.* +peptest_clean: + $(MAKE) -C pEpTest clean + rmtestdata: rm -Rf /tmp/test_pEp.* diff --git a/test/pEpTest/Makefile b/test/pEpTest/Makefile index 21de79e..770fbc2 100644 --- a/test/pEpTest/Makefile +++ b/test/pEpTest/Makefile @@ -1,4 +1,3 @@ - LDLIBS=-lstdc++ -lpEpAdapter LDFLAGS=-L../../src/ CXXFLAGS=-std=c++11 -g