svghmi/Makefile
changeset 3472 2fb9849c6721
parent 3235 b2b6bf45aa2d
child 3484 32eaba9cf30e
--- a/svghmi/Makefile	Fri May 06 11:01:07 2022 +0200
+++ b/svghmi/Makefile	Fri May 06 11:02:03 2022 +0200
@@ -15,9 +15,11 @@
 ysl2includes := $(filter-out $(ysl2files), $(wildcard *.ysl2))
 xsltfiles := $(patsubst %.ysl2, %.xslt, $(ysl2files))
 
+jsfiles := svghmi.js sprintf.js
+
 all:$(xsltfiles)
 
-%.xslt: %.ysl2 $(ysl2includes) svghmi.js ../yslt_noindent.yml2
+%.xslt: %.ysl2 $(ysl2includes) $(jsfiles) ../yslt_noindent.yml2
 	$(yml2path)/yml2c -I $(yml2path):../ $< -o $@.tmp
 	xmlstarlet fo $@.tmp > $@
 	rm $@.tmp