Skip to content

Commit

Permalink
WHISTLE-42: updated more Makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
James Aimonetti committed Sep 13, 2012
1 parent 2d6d9aa commit 60097dc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
10 changes: 6 additions & 4 deletions lib/gen_leader-1.0/Makefile
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,5 @@
ROOT = ../..
REBAR = $(ROOT)/bin/rebar


DIALYZER=dialyzer DIALYZER=dialyzer
DIALYZER_OPTS=-Wno_return -Wrace_conditions -Wunderspecs -Wbehaviours DIALYZER_OPTS=-Wno_return -Wrace_conditions -Wunderspecs -Wbehaviours
Expand All @@ -8,10 +10,10 @@ APPS=kernel stdlib erts compiler crypto
all: compile all: compile


compile: compile:
./rebar compile $(REBAR) compile


doc: doc:
./rebar doc $(REBAR) doc


plt: compile plt: compile
$(DIALYZER) --build_plt --output_plt $(PLT_FILE) --apps $(APPS) ./ebin/ $(DIALYZER) --build_plt --output_plt $(PLT_FILE) --apps $(APPS) ./ebin/
Expand All @@ -23,7 +25,7 @@ analyze: compile
$(DIALYZER) --plt $(PLT_FILE) $(DIALYZER_OPTS) -r ebin/ $(DIALYZER) --plt $(PLT_FILE) $(DIALYZER_OPTS) -r ebin/


tests: tests:
./rebar eunit $(REBAR) eunit


clean: clean:
./rebar clean $(REBAR) clean
17 changes: 10 additions & 7 deletions lib/riak_err-1.0.1/Makefile
Original file line number Original file line Diff line number Diff line change
@@ -1,24 +1,27 @@
ROOT = ../..
REBAR = $(ROOT)/bin/rebar

all: app all: app


app: compile app: compile


compile: compile:
./rebar compile $(REBAR) compile


clean: clean:
./rebar clean $(REBAR) clean


test: all test: all
./rebar eunit $(REBAR) eunit


build_plt: all build_plt: all
./rebar build-plt $(REBAR) build-plt


analyze: all analyze: all
./rebar dialyze $(REBAR) dialyze


doc: all doc: all
./rebar doc $(REBAR) doc


xref: all xref: all
./rebar xref $(REBAR) xref

0 comments on commit 60097dc

Please sign in to comment.