summaryrefslogtreecommitdiff
path: root/make/shared.am
diff options
context:
space:
mode:
authormaddaat <git@maddaat.org>2026-04-10 18:20:08 +0400
committermaddaat <git@maddaat.org>2026-04-10 18:20:08 +0400
commit06ec4982b1d3be9582d1be8cc93f7285ca948a05 (patch)
tree041bd798c864c5998dfae39af7156b399641afd4 /make/shared.am
downloadautotools-project-master.tar
autotools-project-master.tar.gz
autotools-project-master.tar.bz2
autotools-project-master.tar.lz
autotools-project-master.tar.xz
autotools-project-master.tar.zst
autotools-project-master.zip
Initial commitHEADmaster
Diffstat (limited to 'make/shared.am')
-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