From 4c5305ba74a10f5d80313b3a4089f3196131f512 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Mon, 18 Nov 2019 01:05:46 +0100 Subject: [PATCH] :art: Update Makefile --- Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index ae3f1c70..9e9f6f7e 100644 --- a/Makefile +++ b/Makefile @@ -54,7 +54,7 @@ CFLAGS += -DGWION_BUILTIN GWLIBS = libgwion.a ast/libgwion_grammar.a ast/libgwion_ast.a util/libgwion_util.a _LDFLAGS = ${GWLIBS} ${LDFLAGS} -all: options-show util/libgwion_util.a ast/libgwion_ast.a ast/libgwion_grammar.a libgwion.a src/main.o +all: options-show util/libgwion_util.a astlib libgwion.a src/main.o $(info link ${PRG}) @${CC} src/main.o -o ${PRG} ${_LDFLAGS} ${LIBS} @@ -70,11 +70,8 @@ util/libgwion_util.a: util: util/libgwion_util.a @(info build util) -ast/libgwion_ast.a: - @make -C ast libgwion_ast.a - -ast/libgwion_grammar.a: - @make -C ast libgwion_grammar.a +astlib: + @make -s -C ast ast: ast/libgwion_ast.a @(info build ast) -- 2.43.0