feat(autotools): fucking autotools meme aurelien galere

This commit is contained in:
Matteo Flebus 2026-01-08 18:34:08 +01:00
parent 919ea7b1ba
commit 65a033c5f6
4 changed files with 19 additions and 16 deletions

View file

@ -1,6 +1,9 @@
# Init the 42sh project
AC_INIT([42sh], [1.0], [matteo.flebus@epita.fr])
FLAGS="-std=c99 -pedantic -Werror -Wall -Wextra -Wvla"
AC_SUBST([FLAGS])
# Setup Automake
AM_INIT_AUTOMAKE([subdir-objects] [foreign])
@ -21,10 +24,14 @@ AC_PROG_CC
# List Makefiles in subdirectories
AC_CONFIG_FILES([
Makefile
src/Makefile
src/ast/Makefile
src/parser/Makefile
src/lexer/Makefile
src/io_backend/Makefile
src/execution/Makefile
src/expansion/Makefile
src/utils/Makefile
])
# TODO add tests Makefile here
AC_OUTPUT