summaryrefslogtreecommitdiffstats
path: root/dns/maradns/files/patch-libs-Makefile
blob: beb698f30aca112bbf2aa4703ae1d64eadffef4f (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
35
36
37
38
39
40
41
--- libs/Makefile.orig	Sat Jun 23 08:20:57 2001
+++ libs/Makefile	Mon Jun 25 00:44:00 2001
@@ -1,6 +1,6 @@
 OBJECTS = JessStr.o JessStrOS.o JessStrCP.o MaraHash.o
 #FLAGS = -O2 -Wall
-FLAGS = -g
+FLAGS = -g $(CFLAGS)
 
 all: tests mtest
 
@@ -8,23 +8,23 @@
 	rm -f core $(OBJECTS) tests mtest
 
 MaraHash.o: JessStr.h MaraHash.c
-	gcc -c $(FLAGS) -o MaraHash.o MaraHash.c
+	$(CC) -c $(FLAGS) -o MaraHash.o MaraHash.c
 
 JessStr.o: JessStr.h JessStr.c
-	gcc -c $(FLAGS) -o JessStr.o JessStr.c 
+	$(CC) -c $(FLAGS) -o JessStr.o JessStr.c 
 
 JessStrOS.o: JessStr.h JessStrOS.c
-	gcc -c $(FLAGS) -o JessStrOS.o JessStrOS.c 
+	$(CC) -c $(FLAGS) -o JessStrOS.o JessStrOS.c 
 
 JessStrCP.o: JessStr.h JessStrCP.c
-	gcc -c $(FLAGS) -o JessStrCP.o JessStrCP.c 
+	$(CC) -c $(FLAGS) -o JessStrCP.o JessStrCP.c 
 
 mtest: mtest.c $(OBJECTS)
-	gcc $(FLAGS) -o mtest mtest.c $(OBJECTS)
+	$(CC) $(FLAGS) -o mtest mtest.c $(OBJECTS)
 
 tests: tests.c $(OBJECTS)
-	gcc $(FLAGS) -o tests tests.c $(OBJECTS)
+	$(CC) $(FLAGS) -o tests tests.c $(OBJECTS)
 
 #onetime: $(OBJECTS) kiwi.h config.h onetime.c do_scramble.o cryptdate.o
-#	gcc $(FLAGS) -o onetime onetime.c do_scramble.o cryptdate.o
+#	$(CC) $(FLAGS) -o onetime onetime.c do_scramble.o cryptdate.o
 
OpenPOWER on IntegriCloud