add AWESOME_CFLAGS with various warning

This commit is contained in:
Julien Danjou 2008-01-04 21:05:13 +01:00
parent ec09073087
commit e77729ed50
1 changed files with 6 additions and 1 deletions

View File

@ -32,7 +32,12 @@ defconfig.h: $(srcdir)/awesomerc
@$(SED) 's,\\,\\\\,g;s/$$/ \\/;s/"/\\"/g' "$(srcdir)/awesomerc" >> defconfig.h
@echo "\"" >> defconfig.h
AM_CPPFLAGS = $(XFT_CFLAGS) $(X_CFLAGS) $(CAIRO_CFLAGS) $(CONFUSE_CFLAGS) $(XRANDR_CFLAGS) $(XINERAMA_CFLAGS)
AWESOME_CFLAGS = -std=gnu99 -ggdb3 -pipe \
-Wall -Wextra \
-Wundef -Wshadow -Wcast-align -Wwrite-strings -Wsign-compare \
-Wunused -Winit-self -Wpointer-arith -Wredundant-decls \
-Wmissing-prototypes -Wmissing-format-attribute -Wmissing-noreturn
AM_CPPFLAGS = $(XFT_CFLAGS) $(X_CFLAGS) $(CAIRO_CFLAGS) $(CONFUSE_CFLAGS) $(XRANDR_CFLAGS) $(XINERAMA_CFLAGS) $(AWESOME_CFLAGS)
bin_PROGRAMS += awesome
awesome_SOURCES = \