summaryrefslogtreecommitdiff
path: root/21sh/autotools/src/parser/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '21sh/autotools/src/parser/Makefile.am')
-rw-r--r--21sh/autotools/src/parser/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/21sh/autotools/src/parser/Makefile.am b/21sh/autotools/src/parser/Makefile.am
new file mode 100644
index 0000000..c8fe590
--- /dev/null
+++ b/21sh/autotools/src/parser/Makefile.am
@@ -0,0 +1,6 @@
+lib_LIBRARIES = libparser.a
+
+libparser_a_SOURCES = parser.c parser.h $(top_srcdir)/src/lexer/lexer.c $(top_srcdir)/src/lexer/lexer.h
+libparser_a_CPPFLAGS = -I$(top_srcdir)/src
+libparser_a_CFLAGS = -std=c99 -Werror -Wall -Wextra -Wvla -pedantic
+noinst_LIBRARIES = libparser.a