aboutsummaryrefslogtreecommitdiff
path: root/frontend/Makefile
diff options
context:
space:
mode:
authorJoris2025-04-19 12:36:38 +0200
committerJoris2025-04-19 12:38:24 +0200
commit632eef6424d8dc8d40c2906177892697679e7b85 (patch)
tree48d9cd60e9e96eab810b5f7bb3c7b1fa79e0438f /frontend/Makefile
parent063d8ef9eaf874a941f4459e831057dd0a1b7ddd (diff)
Add ZIG server
Diffstat (limited to 'frontend/Makefile')
-rw-r--r--frontend/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/frontend/Makefile b/frontend/Makefile
new file mode 100644
index 0000000..53c25e4
--- /dev/null
+++ b/frontend/Makefile
@@ -0,0 +1,16 @@
+build: ../backend/public/index.html ../backend/public/main.css ../backend/public/main.js ../backend/public/icon.png
+
+../backend/public/index.html: html/index.html
+ cp $^ $@
+
+../backend/public/main.css: $(shell find styles)
+ bin/compile-sass
+
+../backend/public/main.js: $(shell find ts)
+ bin/compile-ts
+
+../backend/public/icon.png: images/icon.png
+ cp $^ $@
+
+clean:
+ rm -f ../backend/public/*