{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:
parent
030db26ad3
commit
7c91248629
@ -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 \
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user