X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/ecdddd60656db2fa84e0e84a7e82378a7202da6c..f4e05b93e06de6392be0d5d394914cd7e37207fc:/Makefile?ds=sidebyside 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