summaryrefslogtreecommitdiff
path: root/p11p-daemon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'p11p-daemon/Makefile')
-rw-r--r--p11p-daemon/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/p11p-daemon/Makefile b/p11p-daemon/Makefile
new file mode 100644
index 0000000..328d4c4
--- /dev/null
+++ b/p11p-daemon/Makefile
@@ -0,0 +1,27 @@
+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
+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