summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am2
-rw-r--r--test/Makefile.am2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index f6be9e8..7eab77f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -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 \
diff --git a/test/Makefile.am b/test/Makefile.am
index 238df35..62d9729 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -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)