Skip to content

Commit

Permalink
Merge pull request #19 from jaredmorrow/jem-illumos-build
Browse files Browse the repository at this point in the history
Fix Makefile $(REBAR) variable handling on Illumos
  • Loading branch information
msantos committed May 15, 2015
2 parents 5a4be10 + cc55bb9 commit 09bd683
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
@@ -1,4 +1,4 @@
REBAR=$(shell which rebar || echo ./rebar)
REBAR = $(shell test -e `which rebar` 2>/dev/null && which rebar || echo "./rebar")
DEPSOLVER_PLT=$(CURDIR)/.depsolver_plt

all: dirs compile
Expand Down Expand Up @@ -43,3 +43,5 @@ typer: $(DEPSOLVER_PLT)

distclean: clean
@rm $(DEPSOLVER_PLT)

print-%: ; @echo $*=$($*)

0 comments on commit 09bd683

Please sign in to comment.