From e5d14731b1d263239bb213eb8f19d7e011583cbf Mon Sep 17 00:00:00 2001 From: sergey-miryanov Date: Thu, 4 Feb 2010 15:04:52 +0500 Subject: [PATCH] Check if ebin exists and create it if not --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) mode change 100644 => 100755 Makefile diff --git a/Makefile b/Makefile old mode 100644 new mode 100755 index e1ed6c1..e051386 --- a/Makefile +++ b/Makefile @@ -1,10 +1,11 @@ ERL=erl -OTP_TOP=/opt/local/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 +OTP_TOP=/usr/lib/erlang/lib +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 compile: + test -d ebin || mkdir ebin $(ERL) -make cd priv && make @@ -14,7 +15,7 @@ static: clean: - rm -rf ebin/*.beam doc/* sqlite3.plt src/test/*.beam - rm -rf ct_run* all_runs.html variables* index.html - find . -name "*~" | xargs rm + - find . -name "*~" | xargs rm cd priv && make clean docs: