summaryrefslogtreecommitdiff
path: root/p11p-daemon/Makefile
diff options
context:
space:
mode:
authorLinus Nordberg <linus@sunet.se>2019-06-19 11:52:26 +0200
committerLinus Nordberg <linus@sunet.se>2019-06-19 11:52:26 +0200
commit7295d365f6b1e1202cb32456a553cd460f695f4a (patch)
tree00df6b8e6735b46eafc3b0c768fe0ecbc384a614 /p11p-daemon/Makefile
parent1292f337f3b4ede00c7ad3b327e953ae256f44bd (diff)
add p11p-daemon skeleton
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