closurecompiler=compiler() { cp "$$1" "$${1%.js}.min.js"; }; compiler %.min.js: %.js $(closurecompiler) '$<' .gitignore: FORCE for file in $(gitignore) $(targets); do echo $$file; done | sort > $@ clean: PHONY distclean: clean rm -f $(targets) FORCE: PHONY PHONY: .PHONY: PHONY