From 12d1f402dd3bf9fe972ef3f398d59a9259f01b2e Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 22 May 2012 09:02:59 -0400 Subject: [PATCH] add other useful warnings --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7d847bf..e03cd89 100644 --- a/Makefile +++ b/Makefile @@ -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)