diff options
| author | KonAki <konaki@anokonaki.org> | 2026-10-10 12:58:59 +0800 |
|---|---|---|
| committer | KonAki <konaki@anokonaki.org> | 2026-10-10 12:58:59 +0800 |
| commit | 4965c61e5576b516c9611acc2955057f0c6ad417 (patch) | |
| tree | 954e56842af67f1d696bd35bf5585593a79d6963 /build.sh | |
| parent | f6003ea8bce29b930ca03687c1e9088858680415 (diff) | |
rename voices to audio, add loops, pitch, buses, fades, positional sound and mic module
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -12,7 +12,7 @@ developer=0 usage() { echo "usage: build.sh [-d] [-D] [-p platform] [-m module,...] [-o objdir] [target ...]" - echo "modules: font toml tile pack ui debug assets image audio model" + echo "modules: font toml tile pack ui debug assets image audio mic model" echo "platforms: native linux bsd windows" echo "targets: all run clean tools pack examples" exit 1 @@ -57,7 +57,7 @@ windows) esac if [ $mode = debug ]; then - MODEFLAGS="-g -O0 -DKON_DEBUG" + MODEFLAGS="-g -O1 -DKON_DEBUG" developer=1 else MODEFLAGS="-O2 -DNDEBUG" @@ -81,9 +81,9 @@ for m in $modules; do assets) addobj konassets ;; model) addobj konmodel; addobj konassets ;; image) addobj stb_image ;; - audio) + audio|mic) addobj miniaudio - addobj konaudio + addobj "kon$m" case $platform in linux) LDLIBS="$LDLIBS -lpthread -ldl" ;; bsd) LDLIBS="$LDLIBS -lpthread" ;; |
