From 144bc031ed5b8f582511d041acf9f36981bbe419 Mon Sep 17 00:00:00 2001 From: Eric Merritt Date: Mon, 20 Feb 2012 14:06:24 -0600 Subject: [PATCH] Add a minimal makefile to the system Signed-off-by: Jordan Wilberding --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b473d7f --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +ERLC=`which erlc` +BEAMDIR=./ebin +ERLCFLAGS=+debug_info -pa $(BEAMDIR) +SRCDIR=src + +.PHONY=all clean + +all: + @echo "Erlware Commons is maintained with Sinan, its much better to use " + @echo "sinan to build than this makefile. This is here just to get " + @echo "get you started." + $(ERLC) $(ERLCFLAGS) -o $(BEAMDIR) $(SRCDIR)/ec_dictionary.erl; + $(ERLC) $(ERLCFLAGS) -o $(BEAMDIR) $(SRCDIR)/*.erl ; + +clean: + rm $(BEAMDIR)/*.beam + rm -rf erl_crush.dump \ No newline at end of file