Browse Source

Added -Wall

David Schleef 23 years ago
parent
commit
4c6a1df6f5
1 changed files with 3 additions and 0 deletions
  1. 3 0
      test/Rules.mak

+ 3 - 0
test/Rules.mak

@@ -22,6 +22,9 @@ STRIPTOOL=strip
 # Check if 'ls -sh' works or not
 # Check if 'ls -sh' works or not
 LSFLAGS = -l
 LSFLAGS = -l
 
 
+# turn all the warnings on
+WARNINGS=-Wall
+
 # use '-Os' optimization if available, else use -O2
 # use '-Os' optimization if available, else use -O2
 OPTIMIZATION = $(shell if $(CC) -Os -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \
 OPTIMIZATION = $(shell if $(CC) -Os -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \
     then echo "-Os"; else echo "-O2" ; fi)
     then echo "-Os"; else echo "-O2" ; fi)