Skip to content

Commit

Permalink
Introduce Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Cy6erBr4in committed Sep 21, 2013
1 parent f184d19 commit 7b40a9d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions Makefile
@@ -0,0 +1,30 @@
# See LICENSE for licensing information.

PROJECT = alogger

DIALYZER = dialyzer
REBAR = ./rebar

all: app

# Application.

deps:
@$(REBAR) get-deps

app: deps
@$(REBAR) compile

clean:
@$(REBAR) clean
rm -f erl_crash.dump

# Dialyzer.

build-plt:
@$(DIALYZER) --build_plt --output_plt .$(PROJECT).plt \
--apps kernel stdlib sasl

dialyze:
@$(DIALYZER) --src src --plt .$(PROJECT).plt --no_native \
-Werror_handling -Wrace_conditions #-Wunmatched_returns -Wunderspecs

0 comments on commit 7b40a9d

Please sign in to comment.