Skip to content

Instantly share code, notes, and snippets.

@TooTallNate
Created September 6, 2012 21:18
Show Gist options
  • Save TooTallNate/3660435 to your computer and use it in GitHub Desktop.
Save TooTallNate/3660435 to your computer and use it in GitHub Desktop.
Using "node" to power a Makefile (I'm not sure what this would be useful for, haha!). Requires GNU Make 3.82 or newer.
SHELL = node
.SHELLFLAGS = -e
test:
@console.log('hello');
@console.log('world');
@jfhbrook
Copy link

jfhbrook commented Sep 7, 2012

CRAP I have 3.81 >_<

@jfhbrook
Copy link

jfhbrook commented Sep 7, 2012

I actually tried this a few weeks ago, couldn't get it to work. Now I know why!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment