diff --git a/src/Makefile b/src/Makefile index 606e65930eac04d8cc483bb0ad394a5c83f19045..ffe4b4a16223e97f18f91918019dd56222f45c2a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -58,7 +58,8 @@ # Compile with GCC 4.6x version, add 'GCC46=1' # Compile a profile version, add 'PROFILEMODE=1' # Compile a debug version, add 'DEBUGMODE=1' -# Compile with extra warnings, add 'WARNINGMODE=1' +# Compile with less warnings, add 'RELAXWARNINGS=1' +# Generate compiler errors for most compiler warnings, add 'ERRORMODE=1' # Compile without NASM's tmap.nas, add 'NOASM=1' # Compile without 3D hardware support, add 'NOHW=1' # Compile without 3D sound support, add 'NOHS=1' diff --git a/src/Makefile.cfg b/src/Makefile.cfg index 81cbc1aee5cf5d491e7fd0d90707a36214ea8e66..86d602438a662ef185be4fe0a6d9384a26b2d9ce 100644 --- a/src/Makefile.cfg +++ b/src/Makefile.cfg @@ -210,10 +210,7 @@ WFLAGS=-Wall ifndef GCC295 #WFLAGS+=-Wno-packed endif -ifdef ERRORMODE -WARNINGMODE=1 -endif -ifdef WARNINGMODE +ifndef RELAXWARNINGS WFLAGS+=-W #WFLAGS+=-Wno-sign-compare ifndef GCC295