summaryrefslogtreecommitdiff
path: root/42sh/src/lexer/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '42sh/src/lexer/Makefile.am')
-rw-r--r--42sh/src/lexer/Makefile.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/42sh/src/lexer/Makefile.am b/42sh/src/lexer/Makefile.am
new file mode 100644
index 0000000..4eda36d
--- /dev/null
+++ b/42sh/src/lexer/Makefile.am
@@ -0,0 +1,15 @@
+lib_LIBRARIES = liblexer.a
+
+liblexer_a_SOURCES = \
+ token.h \
+ utils.h \
+ lexer.h \
+ lexer.c \
+ expansion.h \
+ expansion.c
+
+liblexer_a_CPPFLAGS = -I$(top_srcdir)/src
+
+liblexer_a_CFLAGS = -std=c99 -Werror -Wall -Wextra -Wvla -pedantic
+
+noinst_LIBRARIES = liblexer.a