diff options
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,6 @@ #!/bin/bash -cc=gcc +cc=cc cflags=(-Wall -Wextra -std=gnu99 -O2) ldflags=(-lm) @@ -26,6 +26,7 @@ if [ ! -z "$clean" ]; then exit fi +[ ! -z "$debug" ] && cc=tcc # TCC is faster for debug [ ! -z "$debug" ] && cflags+=(-g -ggdb -rdynamic) teensy_cflags=(${cflags[@]} -fPIC -Iteensy -Iplatform/$platform) |
