From 0cfa4b4d7e314bdbaa6261707b4feb04e6eeaa52 Mon Sep 17 00:00:00 2001 From: argvsc47 <55107887+argvsc47@users.noreply.github.com> Date: Sat, 14 May 2022 00:11:08 +0100 Subject: [PATCH] Windows compatibility (#250) * Update Makefile * Update Makefile --- Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index cc45a093..62047ffe 100644 --- a/Makefile +++ b/Makefile @@ -69,10 +69,7 @@ CFLAGS += -Wno-pedantic CFLAGS += -DGWION_BUILTIN -all: deps options-show ${PRG} - -deps: - [ "$(shell ls util | wc -l)" = "0" ] && git submodule update --init --recursive || true +all: options-show ${PRG} ${PRG}: ${GWLIBS} src/main.o @$(info link ${PRG}) @@ -95,13 +92,13 @@ util/libtermcolor/libtermcolor.a: @+${MAKE} BUILD_ON_WINDOWS=${BUILD_ON_WINDOWS} -s -C util/libtermcolor static util/libgwion_util.a: - @+GWION_PACKAGE= ${MAKE} -s -C util + @+${MAKE} -s -C util util: util/libgwion_util.a @(info build util) ast/libgwion_ast.a: util/libgwion_util.a - @+GWION_PACKAGE= ${MAKE} -s -C ast + @+ ${MAKE} -s -C ast libcmdapp/libcmdapp.a: @+${MAKE} -s -C libcmdapp static -- 2.43.0