build: Fix double generation of html_data

Make supports grouped target which runs once for all listed targets.
This commit is contained in:
Priit Laes
2026-08-14 11:16:05 +03:00
parent 65f8afb908
commit 11be13fe53
+1 -1
View File
@@ -88,7 +88,7 @@ OBJS = ${SRCS:%.c=$(BUILDDIR)/%.rel}
DEPS := ${SRCS:%.c=$(BUILDDIR)/%.d}
HTML := $(shell find html -name '*.js' -or -name '*.html' -or -name '*.svg')
html_data.c html_data.h: $(HTML) | tools
html_data.c html_data.h &: $(HTML) | tools
tools/output/fileadder -a $(HTML_LOCATION) -s $(IMAGESIZE) -b BANK1 -d html -p html_data
$(VERSION_HEADER):