Add a minimal makefile to the system
Signed-off-by: Jordan Wilberding <diginux@gmail.com>
This commit is contained in:
parent
6f2b3efc0c
commit
144bc031ed
1 changed files with 17 additions and 0 deletions
17
Makefile
Normal file
17
Makefile
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue