From: Jérémie Astor Date: Thu, 25 Feb 2021 19:49:26 +0000 (+0100) Subject: :art: Update Makefile X-Git-Tag: nightly~924 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=fe085d3564f6d5a3740107cdb75f825b2f228215;p=gwion.git :art: Update Makefile --- diff --git a/Makefile b/Makefile index 64457bd4..d845210e 100644 --- a/Makefile +++ b/Makefile @@ -55,10 +55,11 @@ endif CFLAGS += -DGWION_BUILTIN -GWLIBS = lib${PRG}.a ast/libgwion_ast.a util/libgwion_util.a libcmdapp/libcmdapp.a +_GWLIBS = util/libgwion_util.a ast/libgwion_ast.a libcmdapp/libcmdapp.a lib${PRG}.a +GWLIBS = lib${PRG}.a libcmdapp/libcmdapp.a ast/libgwion_ast.a util/libgwion_util.a _LDFLAGS = ${GWLIBS} ${LDFLAGS} -all: options-show ${GWLIBS} src/main.o +all: options-show ${_GWLIBS} src/main.o $(info link ${PRG}) @${CC} src/main.o -o ${PRG} ${_LDFLAGS} ${LIBS}