Created
September 23, 2014 06:38
-
-
Save baya/7c7b7e3ec30ec2c8c298 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.SUFFIXES: .erl .beam | |
.erl .beam: | |
erlc -W $< | |
ERL = erl -boot start_clean | |
MODS = module1 module2 module3 | |
all: compile | |
${ERl} -pa '/home/joe/.../this/dir' -s module1 start | |
compile: ${MODS:%=%:.beam} | |
clean: | |
rm -rf *.beam erl_crash.dump |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment