From 1584d5bf53a011b91e429ef43b7d3fab86a2d1d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sat, 29 Jan 2022 16:18:39 +0100 Subject: [PATCH] :wrench: ease up cross compilation --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 4d09c22d..ea86d123 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ CFLAGS += -Wno-pedantic CFLAGS += -DGWION_BUILTIN -all: util/include/generated.h options-show ${GWLIBS} src/main.o +all: options-show ${GWLIBS} src/main.o @$(info link ${PRG}) @${CC} src/main.o -o ${PRG} ${LDFLAGS} ${LIBS} @@ -77,13 +77,10 @@ lto: lib${PRG}.a: ${lib_obj} @${AR} ${AR_OPT} -util/include/generated.h: - @${MAKE} -C util include/generated.h - util/libtermcolor/libtermcolor.a: @+${MAKE} BUILD_ON_WINDOWS=${BUILD_ON_WINDOWS} -s -C util/libtermcolor static -util/libgwion_util.a: util/include/generated.h +util/libgwion_util.a: @+GWION_PACKAGE= ${MAKE} -s -C util util: util/libgwion_util.a -- 2.43.0