mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Update examples build scripts.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
cc ../simple_playback.c -o ../bin/simple_playback -Wall -lpthread -lm
|
||||
cc ../simple_capture.c -o ../bin/simple_capture -Wall -lpthread -lm
|
||||
cc ../simple_enumeration.c -o ../bin/simple_enumeration -Wall -lpthread -lm
|
||||
cc ../advanced_config.c -o ../bin/advanced_config -Wall -lpthread -lm
|
||||
cc ../simple_playback.c -o ../bin/simple_playback -Wall -Wpedantic -std=c99 -lpthread -lm
|
||||
cc ../simple_capture.c -o ../bin/simple_capture -Wall -Wpedantic -std=c99 -lpthread -lm
|
||||
cc ../simple_enumeration.c -o ../bin/simple_enumeration -Wall -Wpedantic -std=c99 -lpthread -lm
|
||||
cc ../simple_mixing.c -o ../bin/simple_mixing -Wall -Wpedantic -std=c99 -lpthread -lm
|
||||
cc ../simple_playback_emscripten.c -o ../bin/simple_playback_emscripten -Wall -Wpedantic -std=c99 -lpthread -lm
|
||||
cc ../advanced_config.c -o ../bin/advanced_config -Wall -Wpedantic -std=c99 -lpthread -lm
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
cc ../simple_playback.c -o ../bin/simple_playback -Wall -ldl -lpthread -lm
|
||||
cc ../simple_capture.c -o ../bin/simple_capture -Wall -ldl -lpthread -lm
|
||||
cc ../simple_enumeration.c -o ../bin/simple_enumeration -Wall -ldl -lpthread -lm
|
||||
cc ../advanced_config.c -o ../bin/advanced_config -Wall -ldl -lpthread -lm
|
||||
cc ../simple_playback.c -o ../bin/simple_playback -Wall -Wpedantic -std=c99 -lpthread -ldl -lm
|
||||
cc ../simple_capture.c -o ../bin/simple_capture -Wall -Wpedantic -std=c99 -lpthread -ldl -lm
|
||||
cc ../simple_enumeration.c -o ../bin/simple_enumeration -Wall -Wpedantic -std=c99 -lpthread -ldl -lm
|
||||
cc ../simple_mixing.c -o ../bin/simple_mixing -Wall -Wpedantic -std=c99 -lpthread -ldl -lm
|
||||
cc ../simple_playback_emscripten.c -o ../bin/simple_playback_emscripten -Wall -Wpedantic -std=c99 -lpthread -ldl -lm
|
||||
cc ../advanced_config.c -o ../bin/advanced_config -Wall -Wpedantic -std=c99 -lpthread -ldl -lm
|
||||
@@ -1,4 +1,6 @@
|
||||
cc ../simple_playback.c -o ../bin/simple_playback -Wall -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox
|
||||
cc ../simple_capture.c -o ../bin/simple_capture -Wall -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox
|
||||
cc ../simple_enumeration.c -o ../bin/simple_enumeration -Wall -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox
|
||||
cc ../advanced_config.c -o ../bin/advanced_config -Wall -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox
|
||||
cc ../simple_playback.c -o ../bin/simple_playback -Wall -Wpedantic -std=c99 -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox
|
||||
cc ../simple_capture.c -o ../bin/simple_capture -Wall -Wpedantic -std=c99 -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox
|
||||
cc ../simple_enumeration.c -o ../bin/simple_enumeration -Wall -Wpedantic -std=c99 -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox
|
||||
cc ../advanced_config.c -o ../bin/advanced_config -Wall -Wpedantic -std=c99 -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox
|
||||
cc ../simple_mixing.c -o ../bin/simple_mixing -Wall -Wpedantic -std=c99 -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox
|
||||
cc ../simple_playback_emscripten.c -o ../bin/simple_playback_emscripten -Wall -Wpedantic -std=c99 -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox
|
||||
@@ -1,7 +1,7 @@
|
||||
@echo off
|
||||
SET c_compiler=gcc
|
||||
SET cpp_compiler=g++
|
||||
SET options=-Wall
|
||||
SET options=-Wall -Wpedantic -std=c99
|
||||
@echo on
|
||||
|
||||
%c_compiler% ../simple_playback.c -o ../bin/simple_playback.exe %options%
|
||||
|
||||
Reference in New Issue
Block a user