summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorRobert Timm <mail@rtti.de>2017-04-08 00:41:10 +0200
committerRobert Timm <mail@rtti.de>2017-04-08 00:41:10 +0200
commitfb2e39b0b79db2e690195a7f05ba97c43b680c11 (patch)
treeeb307137b7cc7e84bd5f046e1757d8415a1703dd /src/Makefile
parente1faf06e1dfde64407ac66dc78e51c3bd83d63dd (diff)
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.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile1
1 files changed, 1 insertions, 0 deletions
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 >> $@; \