build/files = public/imworkingon/index.html build/files += public/imworkingon/imworkingon.css generate/files = public/sponsor/liberapay-icon.svg generate/files += public/sponsor/kofi-icon.png generate/files += public/sponsor/patreon-icon.svg generate/files += public/sponsor/github-icon.svg ################################################################################ all: build .PHONY: all .PHONY: FORCE .DELETE_ON_ERROR: .NOTINTERMEDIATE: build: generate $(build/files) clean: rm -f -- $(build/files) .PHONY: build clean generate: $(generate/files) generate-clean: rm -f -- $(generate/files) .PHONY: generate generate-clean ################################################################################ public/imworkingon/index.html: FORCE TZ=America/Denver go run ./cmd/generate .PRECIOUS: public/imworkingon/index.html public/imworkingon/imworkingon.css: public/imworkingon/imworkingon.scss sass $< $@ public/sponsor/liberapay-icon.svg: curl -L https://liberapay.com/assets/liberapay/icon-v2_black.svg >$@ public/sponsor/kofi-icon.png: curl -L https://storage.ko-fi.com/cdn/cup-border.png >$@ public/sponsor/patreon-icon.svg: curl -L https://theme.zdassets.com/theme_assets/421814/642051a1900f62924e9512621d2f1838988e9245.svg >$@ public/sponsor/github-icon.svg: curl -L https://github.githubassets.com/favicons/favicon.svg >$@