blob: 14b83df39d2c78a748c7f9f9757b69f0acc2b9b5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- Makefile.orig Tue Nov 15 18:25:30 2005
+++ Makefile Tue Nov 15 18:25:59 2005
@@ -1,8 +1,10 @@
+all: dhcprelay
+
dhcprelay: dhcprelay.o
- gcc -g -o $@ -Wall -L/usr/local/lib -lpcap -ldnet $>
+ ${CC} -g -o $@ -Wall -L${LOCALBASE}/lib -lpcap -ldnet $>
dhcprelay.o: dhcprelay.c
- gcc -g -c -o $@ -Wall -I/usr/local/include $<
+ ${CC} -g -c -o $@ -Wall -I${LOCALBASE}/include $<
clean:
rm -f dhcprelay.o dhcprelay dhcprelay.core
|