.POSIX: .SUFFIXES: outputs = gallery public/mithril.js all: $(outputs) gallery: main.go go build -o $@ public/mithril.js: curl -Lo $@ https://unpkg.com/mithril/mithril.js clean: rm -f $(outputs)