Check if ebin exists and create it if not
This commit is contained in:
7
Makefile
Normal file → Executable file
7
Makefile
Normal file → Executable file
@@ -1,10 +1,11 @@
|
|||||||
ERL=erl
|
ERL=erl
|
||||||
OTP_TOP=/opt/local/lib/erlang/lib
|
OTP_TOP=/usr/lib/erlang/lib
|
||||||
PLT_SRC=$(OTP_TOP)/kernel-2.12.4/ebin $(OTP_TOP)/stdlib-1.15.4/ebin/ $(OTP_TOP)/crypto-1.5.2.1/ebin $(OTP_TOP)/compiler-4.5.4/ebin $(OTP_TOP)/hipe-3.6.8/ebin/ $(OTP_TOP)/syntax_tools-1.5.5/ebin $(OTP_TOP)/hipe-3.6.8/ebin ebin
|
PLT_SRC=$(OTP_TOP)/kernel-2.12.5/ebin $(OTP_TOP)/stdlib-1.15.5/ebin/ $(OTP_TOP)/crypto-1.5.3/ebin $(OTP_TOP)/compiler-4.5.5/ebin $(OTP_TOP)/hipe-3.6.9/ebin/ $(OTP_TOP)/syntax_tools-1.5.6/ebin $(OTP_TOP)/hipe-3.6.9/ebin ebin
|
||||||
|
|
||||||
all: compile docs
|
all: compile docs
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
|
test -d ebin || mkdir ebin
|
||||||
$(ERL) -make
|
$(ERL) -make
|
||||||
cd priv && make
|
cd priv && make
|
||||||
|
|
||||||
@@ -14,7 +15,7 @@ static:
|
|||||||
clean:
|
clean:
|
||||||
- rm -rf ebin/*.beam doc/* sqlite3.plt src/test/*.beam
|
- rm -rf ebin/*.beam doc/* sqlite3.plt src/test/*.beam
|
||||||
- rm -rf ct_run* all_runs.html variables* index.html
|
- rm -rf ct_run* all_runs.html variables* index.html
|
||||||
find . -name "*~" | xargs rm
|
- find . -name "*~" | xargs rm
|
||||||
cd priv && make clean
|
cd priv && make clean
|
||||||
|
|
||||||
docs:
|
docs:
|
||||||
|
|||||||
Reference in New Issue
Block a user