add other useful warnings

This commit is contained in:
Daniel Micay 2012-05-22 09:02:59 -04:00
parent df69a9b1f5
commit 12d1f402dd
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,12 @@
PREFIX = /usr/local
CC = gcc
CFLAGS = -std=c99 -O3 -Wall -Wextra -pedantic -Wformat=2
CFLAGS = -std=c99 -O3 \
-Wall -Wextra -pedantic \
-Winit-self \
-Wshadow \
-Wformat=2 \
-Wmissing-declarations
CFLAGS += $(shell pkg-config --cflags gtk+-2.0 vte)
LDFLAGS += -s -Wl,--as-needed $(shell pkg-config --libs gtk+-2.0 vte)