From a1a05a7736265e0c2df26d780b2a40e7bc8e1712 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Sat, 21 Jan 2023 01:23:37 +0100 Subject: [PATCH] :art: Improve embed_gw --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d2ea3145..35e642f3 100644 --- a/Makefile +++ b/Makefile @@ -80,9 +80,11 @@ options-show: @$(info libs: ${GWLIBS}) embed_gw: + touch src/main.c + mkdir embed bash scripts/gw_embed.sh ${GWION_EMBED_GW} > src/embed.c CFLAGS="-DGWION_EMBED_GW -Iembed $(eval ${CFLAGS})" ${MAKE} - rm src/embed.c + rm -rf embed src/embed.c almost_gwion: ${almost_obj} ${ALMOST_LIBS} -- 2.43.0