https://github.com/trahay/Generic-Trace-Generator/pull/7
---
 test/Makefile |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

--- a/test/Makefile
+++ b/test/Makefile
@@ -20,28 +20,28 @@ dir	:
 		mkdir -p $(BIN)
 
 testAll		: testAll.c
-		$(CC) $^ -o $(BIN)/$@ $(CFLAGS) $(INC) $(LIB)
+		$(CC) $^ -o $(BIN)/$@ $(CFLAGS) $(CPPFLAGS) $(INC) $(LIB)
 
 testState	: testState.c
-		$(CC) $^ -o $(BIN)/$@ $(CFLAGS) $(INC) $(LIB)
+		$(CC) $^ -o $(BIN)/$@ $(CFLAGS) $(CPPFLAGS) $(INC) $(LIB)
 
 testState_parall	: testState_parall.c
-		$(CC) $^ -o $(BIN)/$@ $(CFLAGS) $(INC) $(LIB)
+		$(CC) $^ -o $(BIN)/$@ $(CFLAGS) $(CPPFLAGS) $(INC) $(LIB)
 
 testEvent_parall	: testEvent_parall.c
-		$(CC) $^ -o $(BIN)/$@ $(CFLAGS) $(INC) $(LIB)
+		$(CC) $^ -o $(BIN)/$@ $(CFLAGS) $(CPPFLAGS) $(INC) $(LIB)
 
 testEvent_mpi	: testEvent_mpi.c
-		$(CC) $^ -o $(BIN)/$@ $(CFLAGS) $(INC) $(LIB)
+		$(CC) $^ -o $(BIN)/$@ $(CFLAGS) $(CPPFLAGS) $(INC) $(LIB)
 
 testEvent	: testEvent.c
-		$(CC) $^ -o $(BIN)/$@ $(CFLAGS) $(INC) $(LIB)
+		$(CC) $^ -o $(BIN)/$@ $(CFLAGS) $(CPPFLAGS) $(INC) $(LIB)
 
 testLink	: testLink.c
-		$(CC) $^ -o $(BIN)/$@ $(CFLAGS) $(INC) $(LIB)
+		$(CC) $^ -o $(BIN)/$@ $(CFLAGS) $(CPPFLAGS) $(INC) $(LIB)
 
 testVar		: testVar.c
-		$(CC) $^ -o $(BIN)/$@ $(CFLAGS) $(INC) $(LIB)
+		$(CC) $^ -o $(BIN)/$@ $(CFLAGS) $(CPPFLAGS) $(INC) $(LIB)
 
 check   : all
 	for i in $(TESTS) ; do \
