forked from basho/erlang_protobuffs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (28 loc) · 775 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
REBAR=`which rebar || printf ./rebar`
REPO=protobuffs
all: get-deps compile build
get-deps:
@$(REBAR) get-deps
compile:
@$(REBAR) compile
build: compile
@$(REBAR) escriptize
ct:
./scripts/generate_emakefile.escript
@$(REBAR) skip_deps=true ct
eunit:
@$(REBAR) skip_deps=true eunit
test: compile eunit ct
clean:
@$(REBAR) clean
APPS = kernel stdlib sasl erts ssl tools os_mon runtime_tools crypto inets \
xmerl webtool snmp public_key mnesia eunit syntax_tools compiler
COMBO_PLT = $(HOME)/.$(REPO)_combo_dialyzer_plt
check_plt: compile
dialyzer --check_plt --plt $(COMBO_PLT) --apps $(APPS) \
ebin
build_plt: compile
dialyzer --build_plt --output_plt $(COMBO_PLT) --apps $(APPS) \
ebin
dialyzer: compile
dialyzer -Wno_return --plt $(COMBO_PLT) ebin