summaryrefslogtreecommitdiff
blob: c1b0b56f2a118b35f55bd680a563b1df82b2c6d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Respect CPPFLAGS, LDFLAGS
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ LDFLAGS=
 all: grepcidr
 
 grepcidr: grepcidr.o
-	$(CC) $(CFLAGS) grepcidr.o -o grepcidr
+	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) grepcidr.o -o grepcidr
 
 doc: grepcidr.1