Skip to content

Instantly share code, notes, and snippets.

@ceremcem ceremcem/MMakefile
Last active Mar 19, 2016

What would you like to do?
Mixed makefile for building makefiles with multiple languages
# default interpreter is BASH
echo "hello"
echo "this is X: $X"
# One target may use Python
i = 5
print "hello there %d" % i
# Other target may use LiveScript
adder = (a, b) --> a + b
adder5 = adder 5
console.log "Adding 3 to 5: #{adder5 3}"
console.log "Adding 2 to 6: #{add 2 6}"
## You need to run like this file:
# $ mmake my-target
# $ mmake my-other-target
# $ mmake test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.