X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/ecdddd60656db2fa84e0e84a7e82378a7202da6c..6760f8ad5e4dbde1606ffe831257f407b99c0c3b:/Makefile diff --git a/Makefile b/Makefile index 29799e4..fb12741 100644 --- a/Makefile +++ b/Makefile @@ -10,14 +10,16 @@ DEFINES = DEFINES += -DLIBDIR='"$(libdir)"' DEFINES += -DETCDIR='"$(etcdir)"' -DEB_CFLAGS_MAINT_APPEND=-Wall -O3 -Wno-format-zero-length +OPTIM = +OPTIM += -g +OPTIM += -O3 CC = gcc LD = gcc INCLUDES = -I. -CPPFLAGS = `dpkg-buildflags --get CPPFLAGS` $(INCLUDES) $(DEFINES) -CFLAGS = `dpkg-buildflags --get CFLAGS` -LDFLAGS = `dpkg-buildflags --get LDFLAGS` +CPPFLAGS = $(INCLUDES) $(DEFINES) +CFLAGS = -Wall -Wformat-security $(OPTIM) +LDFLAGS = LDLIBS = INSTALL = install -c -D -o root -g root