build: simplify looking for library files

This commit is contained in:
2025-10-19 22:25:24 +01:00
parent 10c391367d
commit 913b34588f

View File

@@ -4,7 +4,7 @@ set -xe
CFLAGS="-Wall -Wextra -std=c11 -ggdb -fsanitize=address -fsanitize=undefined -Wswitch -Wswitch-enum"
LINK="-I."
LIB="impl/sv.c impl/vec.c impl/symtable.c impl/tag.c impl/constructor.c impl/stream.c impl/sys.c"
LIB=$(find "./impl" -name "*.c" -not -name "main.c" -not -name "test.c")
OUT="alisp.out"
build() {