Преглед изворни кода

include CFLAGS when building demos

Steffen Jaeckel пре 8 година
родитељ
комит
290926fe8a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      makefile

+ 1 - 1
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))))