From fb2e39b0b79db2e690195a7f05ba97c43b680c11 Mon Sep 17 00:00:00 2001 From: Robert Timm Date: Sat, 8 Apr 2017 00:41:10 +0200 Subject: [PATCH] fixes regeneration of scripts.h without this patch, the make target would keep appending updated js code to scripts.h and therefor create multiple instances of the C defines. --- src/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Makefile b/src/Makefile index 5ec16d8..d9c3d4d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -22,6 +22,7 @@ config.h: @cp config.def.h $@ scripts/scripts.h: $(JSFILES) + $(RM) $@ @echo "create $@ from *.js" @for file in $(JSFILES); do \ ./scripts/js2h.sh $$file >> $@; \ -- 2.20.1