Skip to content

Instantly share code, notes, and snippets.

@drobbins
Created August 5, 2014 12:51
Show Gist options
  • Save drobbins/e729254aad6e33f19c11 to your computer and use it in GitHub Desktop.
Save drobbins/e729254aad6e33f19c11 to your computer and use it in GitHub Desktop.
Example Makefile for building and concatenating Coffeescript.
.PHONY=build,clean
build/scripts.js: src/*.coffee
coffee --join $@ -c $^
build: build/scripts.js
clean:
rm -rf build/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment