From fffcb12d1ba09021a7d5ab96f7989b87d2124ceb Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Thu, 20 Feb 2014 02:17:42 +0000 Subject: [PATCH] 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 --- src/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index ec327c7..d3f69d5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,6 +1,9 @@ OBJECTS = nyancat.o -CFLAGS=-g +CC ?= +CFLAGS ?= -g +CPPFLAGS ?= +LDFLAGS ?= all: nyancat