Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v2.09.0
Fetching contributors…

Cannot retrieve contributors at this time

54 lines (39 sloc) 1.099 kb
ROOT = .
DIALYZER = dialyzer
REBAR = $(ROOT)/bin/rebar
MAKEDIRS = lib/rabbitmq_server-2.8.6/Makefile \
lib/rabbitmq_client-2.8.6/Makefile \
lib/lager-1.0.0/Makefile \
lib/*/Makefile \
ecallmgr/Makefile \
whistle_apps/Makefile
DIRS = $(ROOT)/lib/whistle-1.0.0 \
$(ROOT)/lib/whistle_amqp-1.0.0 \
$(ROOT)/ecallmgr \
$(ROOT)/whistle_apps
.PHONY: $(MAKEDIRS)
all : compile
compile: ACTION = all
compile: $(MAKEDIRS)
$(MAKEDIRS):
$(MAKE) -C $(@D) $(ACTION)
deps : ACTION = get-deps
deps : $(MAKEDIRS)
clean : ACTION = clean
clean : $(MAKEDIRS)
rm -f test/*.beam
rm -f *crash.dump
test : clean app eunit
eunit :
@$(REBAR) eunit skip_deps=true
build-plt :
@$(DIALYZER) --build_plt --output_plt $(ROOT)/.platform_dialyzer.plt \
--apps erts kernel stdlib sasl inets crypto public_key ssl
dialyze :
@$(DIALYZER) $(foreach DIR,$(DIRS),$(DIR)/ebin) \
--plt $(ROOT)/.platform_dialyzer.plt --no_native \
-Werror_handling -Wrace_conditions -Wunmatched_returns # -Wunderspecs
docs:
@$(REBAR) doc skip_deps=true
update:
./bin/git_update.sh
Jump to Line
Something went wrong with that request. Please try again.