1 2 3 4
closurecompiler=compiler() { cp "$$1" "$${1%.js}.min.js"; }; compiler %.min.js: %.js $(closurecompiler) '$<'