*** ./Makefile.ORIG Tue Aug 9 17:18:47 2011 --- ./Makefile Tue Aug 9 17:19:51 2011 *************** *** 3,9 **** #CFLAGS=-Wall -ggdb -lpcap -I/usr/include/pcap # Standard build with pcap installed on the system ! CFLAGS = -Wall -W -O2 #CFLAGS = -Wall -W -ggdb # Build for the Zaurus with the pcap headers/libs one dir up --- 3,9 ---- #CFLAGS=-Wall -ggdb -lpcap -I/usr/include/pcap # Standard build with pcap installed on the system ! CFLAGS = -O -I/opt/freeware/include #CFLAGS = -Wall -W -ggdb # Build for the Zaurus with the pcap headers/libs one dir up *************** *** 12,24 **** # Build for Solaris with the pcap headers/libs one dir up #CFLAGS = -DSOLARIS -Wall -I. -I../libpcap-0.7.1 -L../libpcap-0.7.1 -ggdb ! LDFLAGS = -lpcap # Build for Solaris #LDFLAGS = -lsocket -lnsl -lpcap cdpr: cdpr.c cdprs.c conffile.c cdp.h cdpr.h ! gcc $(CFLAGS) cdpr.c cdprs.c conffile.c $(LDFLAGS) -o cdpr clean: rm -f cdpr --- 12,24 ---- # Build for Solaris with the pcap headers/libs one dir up #CFLAGS = -DSOLARIS -Wall -I. -I../libpcap-0.7.1 -L../libpcap-0.7.1 -ggdb ! LDFLAGS = -L/opt/freeware/lib -lpcap # Build for Solaris #LDFLAGS = -lsocket -lnsl -lpcap cdpr: cdpr.c cdprs.c conffile.c cdp.h cdpr.h ! cc -qcpluscmt $(CFLAGS) cdpr.c cdprs.c conffile.c $(LDFLAGS) -o cdpr clean: rm -f cdpr