{src,test}/Makefile.am: Enable pedantic warnings

Now that we're fully POSIX compliant and fixed up some minor issues with
ISO C99, use "-std=c99 -pedantic -D_POSIX_C_SOURCE=200809L" as default
build flags for calcurse and the test suite.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2012-02-19 03:19:28 +01:00
parent 030db26ad3
commit 7c91248629
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,8 @@ AUTOMAKE_OPTIONS = foreign
bin_PROGRAMS = calcurse
AM_CFLAGS = -std=c99 -pedantic -D_POSIX_C_SOURCE=200809L
calcurse_SOURCES = \
calcurse.c \
calcurse.h \

View File

@ -17,6 +17,8 @@ TESTS = \
next-001.sh \
search-001.sh
AM_CFLAGS = -std=c99 -pedantic -D_POSIX_C_SOURCE=200809L
check_PROGRAMS = run-test
check_SCRIPTS = $(TESTS)