|
@@ -628,6 +628,7 @@ DIALYZER_PLT ?= $(CURDIR)/.$(PROJECT).plt
|
|
|
export DIALYZER_PLT
|
|
|
|
|
|
PLT_APPS ?=
|
|
|
+DIALYZER_DIRS ?= --src -r src
|
|
|
DIALYZER_OPTS ?= -Werror_handling -Wrace_conditions \
|
|
|
-Wunmatched_returns # -Wunderspecs
|
|
|
|
|
@@ -656,7 +657,7 @@ dialyze:
|
|
|
else
|
|
|
dialyze: $(DIALYZER_PLT)
|
|
|
endif
|
|
|
- @dialyzer --no_native --src -r src $(DIALYZER_OPTS)
|
|
|
+ @dialyzer --no_native $(DIALYZER_DIRS) $(DIALYZER_OPTS)
|
|
|
|
|
|
# Copyright (c) 2013-2014, Loïc Hoguin <essen@ninenines.eu>
|
|
|
# This file is part of erlang.mk and subject to the terms of the ISC License.
|