From d63cd393d0a63f80ceb15df9057796f2c0d1b07d Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Fri, 4 Nov 2011 18:55:35 -0500 Subject: move common warnings to common area --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ae5fba4..169a778 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ MAN=xxxterm.1 SRCS= cookie.c inspector.c marco.c about.c whitelist.c settings.c xxxterm.c CFLAGS+= -O2 -Wall -Wno-format-extra-args -Wunused +CFLAGS+= -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare DEBUG= -ggdb3 LDADD= -lutil -lgcrypt LIBS+= gtk+-2.0 @@ -45,14 +46,12 @@ ${PROG} ${OBJS} beforedepend: ${.CURDIR}/javascript.h # clang targets .if ${.TARGETS:M*analyze*} CFLAGS+= -Wdeclaration-after-statement -Wshadow -CFLAGS+= -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare CC=clang CXX=clang++ CPP=clang -E CFLAGS+=--analyze .elif ${.TARGETS:M*clang*} CFLAGS+= -Wdeclaration-after-statement -Wshadow -CFLAGS+= -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare CC=clang CXX=clang++ CPP=clang -E -- cgit 1.4.1-2-gfad0