summaryrefslogtreecommitdiffstats
path: root/dns/maradns/files/patch-parse-Makefile
blob: f3ae49178c1e60eca58256116f6ce925443f630e (plain)
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
--- parse/Makefile.orig	Sun Jul  8 15:41:39 2001
+++ parse/Makefile	Sun Jul  8 15:42:39 2001
@@ -6,7 +6,7 @@
 EXECS=parsetest parsetest2
 
 #FLAGS = -O2
-FLAGS = -g
+FLAGS = -g $(CFLAGS)
 
 all: $(EXECS)
 
@@ -17,17 +17,17 @@
 	cd libs ; make
 
 ParseMaraRc.o: ParseMaraRc.c ../libs/JessStr.h ../libs/MaraHash.h ../MaraDns.h
-	gcc -c $(FLAGS) -o ParseMaraRc.o ParseMaraRc.c 
+	$(CC) -c $(FLAGS) -o ParseMaraRc.o ParseMaraRc.c 
 
 ParseCsv1.o: ParseCsv1.c ../libs/JessStr.h ../libs/MaraHash.h ../MaraDns.h
-	gcc -c $(FLAGS) -o ParseCsv1.o ParseCsv1.c 
+	$(CC) -c $(FLAGS) -o ParseCsv1.o ParseCsv1.c 
 
 ParseIpAcl.o: ParseIpAcl.c ../libs/JessStr.h ../libs/MaraHash.h ../MaraDns.h
-	gcc -c $(FLAGS) -o ParseIpAcl.o ParseIpAcl.c
+	$(CC) -c $(FLAGS) -o ParseIpAcl.o ParseIpAcl.c
 
 parsetest: parsetest.c $(OBJECTS) 
-	gcc $(FLAGS) -o parsetest parsetest.c $(OBJECTS) 
+	$(CC) $(FLAGS) -o parsetest parsetest.c $(OBJECTS) 
 
 parsetest2: parsetest2.c $(OBJECTS) 
-	gcc $(FLAGS) -o parsetest2 parsetest2.c $(OBJECTS) 
+	$(CC) $(FLAGS) -o parsetest2 parsetest2.c $(OBJECTS) 
 
OpenPOWER on IntegriCloud