--- embedaddon/ipguard/Makefile 2016/10/18 13:59:21 1.1.1.1.2.2 +++ embedaddon/ipguard/Makefile 2017/01/23 15:02:26 1.1.1.1.2.3 @@ -2,7 +2,7 @@ ## ## copyright (c) 2010 SeaD ## -## $Id: Makefile,v 1.1.1.1.2.2 2016/10/18 13:59:21 misho Exp $ +## $Id: Makefile,v 1.1.1.1.2.3 2017/01/23 15:02:26 misho Exp $ NAME=ipguard @@ -21,12 +21,12 @@ LIBNET_CONFIG=libnet-config # LOCALBASE=/usr # LIBNET_CONFIG=libnet-config -INCLUDES=`${LIBNET_CONFIG} --cflags` -LIBS=`${LIBNET_CONFIG} --libs` -lpcap -L${LOCALBASE}/lib +INCLUDES=$(CFLAGS) -I${LOCALBASE}/include +LIBS=$(LDFLAGS) -lpcap -L${LOCALBASE}/lib -lnet DEFINES=`${LIBNET_CONFIG} --defines` STATIC= -CC?=gcc +#CC?=gcc CFLAGS+=-g -Wall -DETHERS='"$(ETHERS)"'