2003-01-03 08:27:37 -05:00
|
|
|
--- Makefile.orig Sun Nov 18 19:25:43 2001
|
|
|
|
+++ Makefile Sun Sep 29 22:46:11 2002
|
|
|
|
@@ -9,7 +9,7 @@
|
|
|
|
MACOSX=0
|
2002-06-07 03:38:53 -04:00
|
|
|
|
|
|
|
# explicit pcap include dir is for redhat which is fux0red
|
2003-01-03 08:27:37 -05:00
|
|
|
-CFLAGS=-g -I/usr/local/include -L/usr/local/lib -DUSE_NETIF=$(USE_NETIF) -DOPENBSD=$(OPENBSD) -DLINUX=$(LINUX) -DSOLARIS=$(SOLARIS) -DFREEBSD=$(FREEBSD) -DMACOSX=$(MACOSX) -I/usr/include/pcap
|
|
|
|
+CFLAGS+=-g -I/usr/local/include -L/usr/local/lib -DUSE_NETIF=$(USE_NETIF) -DOPENBSD=$(OPENBSD) -DLINUX=$(LINUX) -DSOLARIS=$(SOLARIS) -DFREEBSD=$(FREEBSD) -DMACOSX=$(MACOSX) -I/usr/include/pcap
|
2002-06-07 03:38:53 -04:00
|
|
|
|
|
|
|
usage:
|
|
|
|
@echo
|
2003-01-03 08:27:37 -05:00
|
|
|
@@ -45,11 +45,11 @@
|
2002-06-07 03:38:53 -04:00
|
|
|
all: $(TARGETS)
|
|
|
|
|
|
|
|
arping.o: arping.c
|
|
|
|
- gcc -Wall $(CFLAGS) -c `libnet-config --defines` `libnet-config --cflags` arping.c
|
|
|
|
+ ${CC} -Wall $(CFLAGS) -c `libnet-config --defines` `libnet-config --cflags` arping.c
|
|
|
|
|
|
|
|
O_arping=arping.o
|
|
|
|
arping: $(O_arping)
|
|
|
|
- gcc $(CFLAGS) -g -o $@ $(O_arping) `libnet-config --libs` -lpcap
|
|
|
|
+ ${CC} $(CFLAGS) -g -o $@ $(O_arping) `libnet-config --libs` -lpcap
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o $(TARGETS)
|