summaryrefslogtreecommitdiff
path: root/42sh/src/Makefile.am
diff options
context:
space:
mode:
authorMartial Simon <msimon_fr@hotmail.com>2025-09-15 01:07:58 +0200
committerMartial Simon <msimon_fr@hotmail.com>2025-09-15 01:07:58 +0200
commit967be9e750221ab2ab783f95df79bb26d290a45e (patch)
tree6802900a5e975f9f68b169f0f503f040056d6952 /42sh/src/Makefile.am
add: added projectsHEADmain
Diffstat (limited to '42sh/src/Makefile.am')
-rw-r--r--42sh/src/Makefile.am28
1 files changed, 28 insertions, 0 deletions
diff --git a/42sh/src/Makefile.am b/42sh/src/Makefile.am
new file mode 100644
index 0000000..95d8eb4
--- /dev/null
+++ b/42sh/src/Makefile.am
@@ -0,0 +1,28 @@
+# define the subdirectories
+SUBDIRS = ast \
+ builtins \
+ parser \
+ lexer \
+ utils \
+ IO \
+ exec
+
+
+bin_PROGRAMS = 42sh
+
+42sh_SOURCES = helper.h \
+ helper.c \
+ 42sh.c
+
+42sh_CPPFLAGS = -I%D%
+
+42sh_CFLAGS = -std=c99 -Werror -Wall -Wextra -Wvla -pedantic
+
+42sh_LDADD = \
+ parser/libparser.a \
+ IO/libIO.a \
+ ast/libast.a \
+ exec/libeval.a \
+ lexer/liblexer.a \
+ utils/libutils.a \
+ builtins/libbuiltins.a