From 765000ce4fe5afde983afdaf276b54b2dd4edbcc Mon Sep 17 00:00:00 2001 From: feelfree69 Date: Wed, 11 Mar 2026 19:08:32 +0100 Subject: [PATCH] fixed html dependencies --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 94b5ead..54a5a4f 100644 --- a/Makefile +++ b/Makefile @@ -33,8 +33,9 @@ SRCS += uip/timer.c uip/uip.c uip/uip_arp.c uip/uiplib.c uip/uip-fw.c uip/uip-ne SRCS += httpd/httpd.c httpd/page_impl.c 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 tools +html_data.c html_data.h: $(HTML) tools/$(BUILDDIR)/fileadder tools/$(BUILDDIR)/fileadder -a $(HTML_LOCATION) -s $(IMAGESIZE) -b BANK1 -d html -p html_data $(VERSION_HEADER):