File: cppflags

package info (click to toggle)
gtg-trace 0.2-3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 816 kB
  • sloc: ansic: 5,141; fortran: 234; makefile: 189; f90: 167; sh: 30
file content (44 lines) | stat: -rw-r--r-- 1,403 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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 \