aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEgobrain <[email protected]>2013-02-21 10:27:26 +0400
committerEgobrain <[email protected]>2013-02-21 18:32:23 +0400
commit73c718dcb5a5c7bff77f34bc22f3b68f4683bec3 (patch)
tree06db546859287826c95caabbe460eaa363fcd007 /Makefile
parent3181382d72d0f7be681e150cfa2baabec5c2861b (diff)
downloadcowboy-73c718dcb5a5c7bff77f34bc22f3b68f4683bec3.tar.gz
cowboy-73c718dcb5a5c7bff77f34bc22f3b68f4683bec3.tar.bz2
cowboy-73c718dcb5a5c7bff77f34bc22f3b68f4683bec3.zip
Added warn compile options. Fixed compile warnings.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d04758c..2349caa 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,8 @@
PROJECT = cowboy
RANCH_VSN = 0.6.1
-ERLC_OPTS = -Werror +debug_info +warn_export_all # +bin_opt_info +warn_missing_spec
+ERLC_OPTS = -Werror +debug_info +warn_export_all +warn_export_vars \
+ +warn_shadow_vars +warn_obsolete_guard # +bin_opt_info +warn_missing_spec
DEPS_DIR ?= $(CURDIR)/deps
export DEPS_DIR