summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-05-01 11:57:03 +0200
committerLoïc Hoguin <[email protected]>2013-05-01 12:10:00 +0200
commit016ff9575283fcf762b8441542c42d76d765726a (patch)
tree834c6273e13861cd580d2b186cc38dda88b8b969 /Makefile
parentc57088a30bccd4f1f5689592e3af9bcb1dcf59e0 (diff)
downloadbullet-016ff9575283fcf762b8441542c42d76d765726a.tar.gz
bullet-016ff9575283fcf762b8441542c42d76d765726a.tar.bz2
bullet-016ff9575283fcf762b8441542c42d76d765726a.zip
Use erlang.mk for the build system
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile36
1 files changed, 6 insertions, 30 deletions
diff --git a/Makefile b/Makefile
index 7fa3502..6596368 100644
--- a/Makefile
+++ b/Makefile
@@ -1,36 +1,12 @@
# See LICENSE for licensing information.
-DIALYZER = dialyzer
-REBAR = rebar
+PROJECT = bullet
-all: app
+# Dependencies.
-app: deps
- @$(REBAR) compile
+DEPS = cowboy
+dep_cowboy = https://github.com/extend/cowboy.git 0.8.0
-deps:
- @$(REBAR) get-deps
+# Standard targets.
-clean:
- @$(REBAR) clean
- rm -f test/*.beam
- rm -f erl_crash.dump
-
-tests: clean app eunit ct
-
-eunit:
- @$(REBAR) eunit skip_deps=true
-
-ct:
- @$(REBAR) ct skip_deps=true
-
-build-plt:
- @$(DIALYZER) --build_plt --output_plt .bullet_dialyzer.plt \
- --apps kernel stdlib deps/cowboy
-
-dialyze:
- @$(DIALYZER) --src src --plt .bullet_dialyzer.plt -Werror_handling \
- -Wrace_conditions -Wunmatched_returns # -Wunderspecs
-
-docs:
- @$(REBAR) doc skip_deps=true
+include erlang.mk