diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,11 +1,13 @@ .POSIX: .SUFFIXES: -outputs = gallery public/mithril.js +outputs = gallery initialize.go public/mithril.js all: $(outputs) -gallery: main.go +gallery: main.go initialize.go go build -o $@ +initialize.go: initialize.sql gen-initialize.sh + ./gen-initialize.sh initialize.sql > $@ public/mithril.js: curl -Lo $@ https://unpkg.com/mithril/mithril.js clean: |