mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
16 lines
437 B
Plaintext
16 lines
437 B
Plaintext
--- 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
|