From 967be9e750221ab2ab783f95df79bb26d290a45e Mon Sep 17 00:00:00 2001 From: Martial Simon Date: Mon, 15 Sep 2025 01:07:58 +0200 Subject: add: added projects --- 42sh/configure.ac | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 42sh/configure.ac (limited to '42sh/configure.ac') diff --git a/42sh/configure.ac b/42sh/configure.ac new file mode 100644 index 0000000..644e677 --- /dev/null +++ b/42sh/configure.ac @@ -0,0 +1,35 @@ +# Init the 42sh project +AC_INIT([42sh], [1.0], [martial.simon@epita.fr maxence.moncel@epita.fr nicolas.rivera@epita.fr fabien.bouchon@epita.fr]) + +# Setup Automake +AM_INIT_AUTOMAKE([subdir-objects] [foreign]) + +# Pretty display of Makefile rules +AM_SILENT_RULES([yes]) + +# Enable ar for Makefile +AM_PROG_AR + +# Check if ranlib is available +AC_PROG_RANLIB + +# Check if a C compiler is available +AC_PROG_CC + +# Check if a compiler has this list of flags +AX_COMPILER_FLAGS([], [], [], [-Wall -Wextra -Werror -Wvla -pedantic -std=c99]) + +# List Makefiles in subdirectories +AC_CONFIG_FILES([ + Makefile + src/Makefile + src/ast/Makefile + src/parser/Makefile + src/lexer/Makefile + src/utils/Makefile + src/builtins/Makefile + src/exec/Makefile + src/IO/Makefile + tests/Makefile + ]) +AC_OUTPUT -- cgit v1.2.3