aboutsummaryrefslogtreecommitdiff
path: root/frontend/Makefile
diff options
context:
space:
mode:
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/*