Browse Source

Makefile: Enable more warnings

Georgi Chorbadzhiyski 7 years ago
parent
commit
c212b33671
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      Makefile

+ 4
- 1
Makefile View File

@@ -1,7 +1,10 @@
1 1
 CC = cc
2 2
 STRIP = strip
3 3
 CROSS := $(TARGET)
4
-CFLAGS = -ggdb -Wall -Wextra -Wshadow -Wformat-security -Wno-strict-aliasing -O2
4
+CFLAGS := -O2 -ggdb -pipe \
5
+ -W -Wall -Wextra \
6
+ -Wshadow -Wformat-security -Wstrict-prototypes \
7
+ -Wredundant-decls -Wold-style-definition
5 8
 RM = /bin/rm -f
6 9
 Q = @
7 10
 

Loading…
Cancel
Save