summaryrefslogtreecommitdiffstats
path: root/net/maradns/files/patch-server-Makefile
blob: 6e117fb16fca537c8d0e191c26d2b93edc9fff69 (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
--- server/Makefile.orig	Wed Jul  4 12:09:16 2001
+++ server/Makefile	Sun Jul  8 15:45:17 2001
@@ -10,7 +10,7 @@
 
 #FLAGS = -O2 -Wall
 #FLAGS = -g -DDEBUG -DCALL_LOCKS
-FLAGS = -g -DDEBUG 
+FLAGS = -g -DDEBUG $(CFLAGS)
 #FLAGS = -g -DDEBUG -DNOTHREAD
 #FLAGS = -g
 
@@ -23,11 +23,11 @@
 	cd libs ; make
 
 MaraBigHash.o: MaraBigHash.c ../libs/JessStr.h ../libs/MaraHash.h ../MaraDns.h
-	gcc -c $(FLAGS) -o MaraBigHash.o MaraBigHash.c 
+	$(CC) -c $(FLAGS) -o MaraBigHash.o MaraBigHash.c 
 
 recursive.o: recursive.c ../libs/JessStr.h ../libs/MaraHash.h ../MaraDns.h
-	gcc -c $(FLAGS) -o recursive.o recursive.c 
+	$(CC) -c $(FLAGS) -o recursive.o recursive.c 
 
 maradns: MaraDNS.c $(OBJECTS) 
-	gcc $(FLAGS) -DVERSION=\"$(VERSION)\" -o maradns MaraDNS.c $(OBJECTS) -lpthread
+	$(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -o maradns MaraDNS.c $(OBJECTS) -pthread
 
OpenPOWER on IntegriCloud