Skip to content

Instantly share code, notes, and snippets.

@ynaoto
Last active December 15, 2015 07:10
Show Gist options
  • Save ynaoto/5221813 to your computer and use it in GitHub Desktop.
Save ynaoto/5221813 to your computer and use it in GitHub Desktop.
Makefile to handle .litcoffee
.SUFFIXES: .litcoffee .js
JSS = a.js b.js c.js
all: $(JSS)
.litcoffee.js:
coffee -c $<
watch:
coffee -wc $(JSS:.js=.litcoffee)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment