Allow build flags to be overridden by make process

Required to enable Debian buildi hardening:
https://wiki.debian.org/Hardening

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
This commit is contained in:
Jonathan McCrohan 2014-02-20 02:17:42 +00:00
parent 57ee01929a
commit fffcb12d1b

View File

@ -1,6 +1,9 @@
OBJECTS = nyancat.o OBJECTS = nyancat.o
CFLAGS=-g CC ?=
CFLAGS ?= -g
CPPFLAGS ?=
LDFLAGS ?=
all: nyancat all: nyancat