--- embedaddon/hping2/Makefile 2012/02/21 22:11:37 1.1 +++ embedaddon/hping2/Makefile 2013/10/14 08:46:19 1.1.1.1.2.2 @@ -6,14 +6,14 @@ # $date: Sun Jul 25 17:56:15 MET DST 1999$ # $rev: 3$ -CC?= gcc +CC= cc AR=/usr/bin/ar RANLIB=/usr/bin/ranlib -CCOPT= -Wall -O2 -pipe -fno-strict-aliasing +CCOPT= -O2 -Wall DEBUG= -g #uncomment the following if you need libpcap based build under linux #(not raccomanded) -COMPILE_TIME= -DFORCE_LIBPCAP +COMPILE_TIME= INSTALL_MANPATH=/usr/local/man PCAP=-lpcap @@ -43,7 +43,7 @@ libars.a: $(ARSOBJ) $(RANLIB) $@ hping2: byteorder.h $(OBJ) - $(CC) -o hping2 $(CCOPT) $(OBJ) $(PCAP) + $(CC) -o hping2 $(CCOPT) $(DEBUG) $(OBJ) $(PCAP) @echo ./hping2 -v @echo "use \`make strip' to strip hping2 binary" @@ -53,7 +53,7 @@ byteorder.h: ./configure .c.o: - $(CC) -c $(CCOPT) $(COMPILE_TIME) $< + $(CC) -c $(CCOPT) $(DEBUG) $(COMPILE_TIME) $< clean: rm -rf hping2 *.o *.a