summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/shared.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/make/shared.am b/make/shared.am
new file mode 100644
index 0000000..1fce541
--- /dev/null
+++ b/make/shared.am
@@ -0,0 +1,14 @@
+# vim: set syntax=automake:
+
+AM_CFLAGS = \
+ -std=c99 \
+ -pedantic \
+ -Wall \
+ -Wextra \
+ -D_POSIX_C_SOURCE=200809L \
+ -I$(top_builddir)/include \
+ -I$(top_srcdir)/include
+
+if ENABLE_WERROR
+AM_CFLAGS += -Werror
+endif