summaryrefslogtreecommitdiff
path: root/p11p-daemon/Makefile
blob: e9c55d15af3822982bf2882da4cbfe5905d27d27 (plain)
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
PROJECT = p11p
REBAR = rebar3			# export PATH=$PATH:~/.cache/rebar3/bin

all: compile

compile:
	@$(REBAR) compile
rel:
	@$(REBAR) release
clean:
	@$(REBAR) clean
clean-all:
	@$(REBAR) clean -a
dialyzer:
	@$(REBAR) dialyzer
check:
	@$(REBAR) do eunit -v, ct -v, proper -v
eunit:
	@$(REBAR) do eunit
tests:
	@$(REBAR) ct
start: rel
	./_build/default/rel/$(PROJECT)/bin/$(PROJECT) start
stop: rel
	./_build/default/rel/$(PROJECT)/bin/$(PROJECT) stop
shell:
	@$(REBAR) shell

.PHONY: compile rel clean dialyzer check tests shell