Skip to content

Commit

Permalink
Fix Makefile to be compatible with erlang.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
tolbrino committed May 2, 2014
1 parent 29e48cd commit 6846af8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
.PHONY: doc compile test compile_test clean_test run_test escriptize
.PHONY: doc compile test compile_test clean_test run_test escriptize deps

REBAR ?= $(shell which rebar || echo ./rebar)

TESTDIRS= xtest/testapp-1 xtest/testapp-2

all: compile

compile:
compile: deps
${REBAR} compile

deps:
${REBAR} get-deps

doc:
${REBAR} doc

Expand Down

0 comments on commit 6846af8

Please sign in to comment.