From: Jérémie Astor Date: Sun, 10 May 2020 15:46:40 +0000 (+0200) Subject: :wrench: Simplify Makefile X-Git-Tag: nightly~1597 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=8bf398a0fa3a03db7e8109615216c746888c9d38;p=gwion.git :wrench: Simplify Makefile --- diff --git a/Makefile b/Makefile index 0d380ec1..a9a9ad8c 100644 --- a/Makefile +++ b/Makefile @@ -59,7 +59,7 @@ CFLAGS += -DGWION_BUILTIN GWLIBS = libgwion.a ast/libgwion_ast.a util/libgwion_util.a _LDFLAGS = ${GWLIBS} ${LDFLAGS} -all: options-show util/libgwion_util.a astlib libgwion.a src/main.o +all: options-show util/libgwion_util.a ast/libgwion_ast.a libgwion.a src/main.o $(info link ${PRG}) @${CC} src/main.o -o ${PRG} ${_LDFLAGS} ${LIBS} @@ -75,7 +75,7 @@ util/libgwion_util.a: util: util/libgwion_util.a @(info build util) -astlib: +ast/libgwion_ast.a: @+GWION_PACKAGE= make -s -C ast ast: ast/libgwion_ast.a