From: fennecdjay Date: Sat, 21 Jan 2023 00:23:37 +0000 (+0100) Subject: :art: Improve embed_gw X-Git-Tag: nightly~206^2~20 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=a1a05a7736265e0c2df26d780b2a40e7bc8e1712;p=gwion.git :art: Improve embed_gw --- 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}