blob: eabf7235a75e127e4675a6d0de780ef21bfa7809 (
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
|
diff -Naur sheerdns.old/Makefile sheerdns/Makefile
--- sheerdns.old/Makefile 2010-01-22 16:15:33.000000000 +0100
+++ sheerdns/Makefile 2010-01-22 16:16:45.000000000 +0100
@@ -1,5 +1,5 @@
-CFLAGS = -Wall -g -O2 -pedantic -I/usr/lib
+CFLAGS += -I/usr/lib
SRCS=$(wildcard *.c)
@@ -11,13 +11,13 @@
OBJECTS=$(SRCS:.c=.o)
sheerdns: $(OBJECTS)
- gcc -o sheerdns $(OBJECTS)
+ $(CC) -o sheerdns $(OBJECTS) $(LDFLAGS)
sheerdnshash: hash.c
- gcc $(CFLAGS) -o sheerdnshash hash.c -DSTANDALONE -Wall
+ $(CC) $(CFLAGS) -o sheerdnshash hash.c -DSTANDALONE -Wall $(LDFLAGS)
.c.o: $(SRCS)
- gcc $(CFLAGS) -c $<
+ $(CC) $(CFLAGS) -c $<
clean:
rm -f sheerdns sheerdnshash *.o
|