]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: set GWION_PACKAGE later
authorfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 3 Sep 2019 19:26:14 +0000 (21:26 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 3 Sep 2019 19:26:14 +0000 (21:26 +0200)
Makefile

index 9e96c248ff63e40bdf64ea3975ad0e82b85b6795..05417ad0381d0d1e9ee3403c0098aec545e97ad4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,3 @@
-GWION_PACKAGE=gwion
-CFLAGS += -DGWION_PACKAGE='"${GWION_PACKAGE}"'
-
 ifeq (,$(wildcard util/config.mk))
 $(shell cp util/config.mk.orig util/config.mk)
 endif
@@ -10,6 +7,9 @@ endif
 include util/config.mk
 include config.mk
 
+GWION_PACKAGE=gwion
+CFLAGS += -DGWION_PACKAGE='"${GWION_PACKAGE}"'
+
 # initialize source lists
 src_src := $(wildcard src/*.c)
 lib_src := $(wildcard src/lib/*.c)