diff --git a/build.sh b/build.sh index 6b74038..0531b49 100644 --- a/build.sh +++ b/build.sh @@ -10,6 +10,6 @@ cc_flags="-std=c11 -g -Wall -Wextra -Werror -Iflamingo/runtime -Iflamingo -Wno-u # Could this be a clangd bug? cc $cc_flags -D_DEFAULT_SOURCE -D_GNU_SOURCE -ferror-limit=0 -c flamingo/flamingo.c -o bin/flamingo.o -cc $cc_flags -c main.c -o bin/main.o +cc $cc_flags -D_DEFAULT_SOURCE -c main.c -o bin/main.o cc $(find bin -name "*.o") -lm $cc_flags -o bin/flamingo