From fe085d3564f6d5a3740107cdb75f825b2f228215 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Thu, 25 Feb 2021 20:49:26 +0100 Subject: [PATCH] :art: Update Makefile --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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} -- 2.43.0