From 290926fe8a5870fa505c53175737d610287e1361 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Tue, 18 Apr 2017 16:05:11 +0200 Subject: [PATCH] include CFLAGS when building demos --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index b02fe0f..dc53d68 100644 --- a/makefile +++ b/makefile @@ -255,7 +255,7 @@ $(1): demos/$(1).o library ifneq ($V,1) @echo " * $${CC} $$@" endif - $${silent} $$(CC) $$< $$(LIB_PRE) $$(LIBNAME) $$(LIB_POST) $$(EXTRALIBS) -o $(1) + $${silent} $$(CC) $$(CFLAGS) $$< $$(LIB_PRE) $$(LIBNAME) $$(LIB_POST) $$(EXTRALIBS) -o $(1) endef $(foreach demo, $(strip $(DEMOS)), $(eval $(call DEMO_template,$(demo))))