diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2026-10-08 04:22:29 -0500 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2026-10-08 04:22:29 -0500 |
| commit | a260faa5cc35cb6fd656e49a6235a147d80d863f (patch) | |
| tree | 34cde12a5711e775b545b6eaa433486ae1cf6bf0 /build.sh | |
| parent | 2780e8a5796d217e651dc4f44b628a9a0e247852 (diff) | |
added CC variable
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,6 +2,7 @@ DEBUG="" LIB="-I libs/tinyosc" +[ -z "$CC" ] && CC="clang" mkdir -p bin @@ -17,5 +18,5 @@ shift $((OPTIND-1)) printf "\n\nmaking project\n" [ ! -e "src/config.c" ] && cp src/config.def.c src/config.c; -clang -o bin/chat-loop src/main.c $LIB -lm $DEBUG -clang -o bin/type src/type.c $LIB -lm $DEBUG +$CC -o bin/chat-loop src/main.c $LIB -lm $DEBUG +$CC -o bin/type src/type.c $LIB -lm $DEBUG |
