Permalink
Browse files

Add a minimal makefile to the system

Signed-off-by: Jordan Wilberding <diginux@gmail.com>
  • Loading branch information...
1 parent 6f2b3ef commit 144bc031ed5b8f582511d041acf9f36981bbe419 @ericbmerritt ericbmerritt committed with jwilberding Feb 20, 2012
Showing with 17 additions and 0 deletions.
  1. +17 −0 Makefile
View
@@ -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

0 comments on commit 144bc03

Please sign in to comment.