build: simplify looking for library files
This commit is contained in:
2
build.sh
2
build.sh
@@ -4,7 +4,7 @@ set -xe
|
|||||||
|
|
||||||
CFLAGS="-Wall -Wextra -std=c11 -ggdb -fsanitize=address -fsanitize=undefined -Wswitch -Wswitch-enum"
|
CFLAGS="-Wall -Wextra -std=c11 -ggdb -fsanitize=address -fsanitize=undefined -Wswitch -Wswitch-enum"
|
||||||
LINK="-I."
|
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"
|
OUT="alisp.out"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|||||||
Reference in New Issue
Block a user