summaryrefslogtreecommitdiff
path: root/42sh/src/ast/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '42sh/src/ast/Makefile.am')
-rw-r--r--42sh/src/ast/Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/42sh/src/ast/Makefile.am b/42sh/src/ast/Makefile.am
new file mode 100644
index 0000000..6967aa1
--- /dev/null
+++ b/42sh/src/ast/Makefile.am
@@ -0,0 +1,14 @@
+lib_LIBRARIES = libast.a
+
+libast_a_SOURCES = \
+ ast.h \
+ ast.c \
+ ast_accessors.h \
+ ast_accessors.c \
+ ast_pretty_print.c
+
+libast_a_CPPFLAGS = -I$(top_srcdir)/src
+
+libast_a_CFLAGS = -std=c99 -Werror -Wall -Wextra -Wvla -pedantic
+
+noinst_LIBRARIES = libast.a