fix: now compiles and works for simple commands + clang format

This commit is contained in:
matteo 2026-01-17 19:11:55 +01:00
parent 6099bbb9e3
commit 352c122549
23 changed files with 168 additions and 150 deletions

View file

@ -28,8 +28,8 @@ bin_PROGRAMS = 42sh
check_PROGRAMS = testsuite
testsuite_CFLAGS = $(42sh_CFLAGS)
testsuite_CFLAGS += $(CRITERION_CFLAGS)
#testsuite_CFLAGS = $(42sh_CFLAGS)
#testsuite_CFLAGS += $(CRITERION_CFLAGS)
testsuite_SOURCES = ../tests/unit/lexer/lexer_tests.c \
../tests/unit/utils/utils_tests.c
@ -42,8 +42,8 @@ testsuite_LDADD = $(42sh_LDADD) $(CRITERION_LIBS)
check_PROGRAMS += debug
debug_CFLAGS = $(42sh_CFLAGS)
debug_CFLAGS += -fsanitize=address -g
#debug_CFLAGS = $(42sh_CFLAGS)
#debug_CFLAGS += -fsanitize=address -g
debug_SOURCES = $(42sh_SOURCES)