aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-13 12:18:53 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-13 12:18:53 +0800
commit478f73b93c37e5e32ce33eb1de963eeb23a5cc40 (patch)
tree2b6496ded87c220ef0e5d5061806ee1d66683a27 /Makefile
parentBegin to use hare-htmpl (diff)
downloadforge-478f73b93c37e5e32ce33eb1de963eeb23a5cc40.tar.gz
forge-478f73b93c37e5e32ce33eb1de963eeb23a5cc40.tar.zst
forge-478f73b93c37e5e32ce33eb1de963eeb23a5cc40.zip
Add basic template rendering
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index acb67a1..c32770f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,5 @@
-forge: main.ha
- hare build -o $@ $^
+forge: main.ha templates.ha
+ hare build -o $@ .
+
+templates.ha: templates/*.htmpl
+ htmplgen -o $@ $^