Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #27 from dLuna/makefile

Makefile
  • Loading branch information...
commit a4d30cb6e350aa8228a4d491e7239e9a6932b2b2 2 parents b8cb5f8 + 6a13adc
@uwiger authored
Showing with 9 additions and 6 deletions.
  1. +9 −6 Makefile
View
15 Makefile
@@ -19,29 +19,32 @@
## LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
## FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
## DEALINGS IN THE SOFTWARE.
+REBAR=$(shell which rebar || echo ./rebar)
.PHONY: all compile clean eunit test eqc doc check dialyzer
DIRS=src
-all: compile
+all: deps compile
check: compile dialyzer
compile:
- rebar compile
+ $(REBAR) compile
+deps:
+ $(REBAR) get-deps
clean:
- rebar clean
+ $(REBAR) clean
eunit:
- rebar eunit
+ $(REBAR) eunit
test: eunit
doc:
- rebar doc
+ $(REBAR) doc
dialyzer:
- rebar skip_deps=true dialyze
+ $(REBAR) skip_deps=true dialyze
Please sign in to comment.
Something went wrong with that request. Please try again.