Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f184d19
commit 7b40a9d
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |