diff options
author | Loïc Hoguin <[email protected]> | 2013-05-01 11:57:03 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-05-01 12:10:00 +0200 |
commit | 016ff9575283fcf762b8441542c42d76d765726a (patch) | |
tree | 834c6273e13861cd580d2b186cc38dda88b8b969 /Makefile | |
parent | c57088a30bccd4f1f5689592e3af9bcb1dcf59e0 (diff) | |
download | bullet-016ff9575283fcf762b8441542c42d76d765726a.tar.gz bullet-016ff9575283fcf762b8441542c42d76d765726a.tar.bz2 bullet-016ff9575283fcf762b8441542c42d76d765726a.zip |
Use erlang.mk for the build system
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 36 |
1 files changed, 6 insertions, 30 deletions
@@ -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 |