summaryrefslogtreecommitdiff
path: root/42sh/src/parser/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '42sh/src/parser/Makefile.am')
-rw-r--r--42sh/src/parser/Makefile.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/42sh/src/parser/Makefile.am b/42sh/src/parser/Makefile.am
new file mode 100644
index 0000000..f6c38fb
--- /dev/null
+++ b/42sh/src/parser/Makefile.am
@@ -0,0 +1,21 @@
+lib_LIBRARIES = libparser.a
+
+libparser_a_SOURCES = \
+ parser.h \
+ parser.c \
+ parser_functions.h \
+ parser_commands.c \
+ parser_conditionnals.c \
+ parser_lists.c \
+ parser_operators.c \
+ parser_redir.c \
+ parser_utils.h \
+ parser_utils.c \
+ parser_loops.c \
+ parser_fundec.c
+
+libparser_a_CPPFLAGS = -I$(top_srcdir)/src
+
+libparser_a_CFLAGS = -std=c99 -Werror -Wall -Wextra -Wvla -pedantic
+
+noinst_LIBRARIES = libparser.a