mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Add build scripts for examples.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
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
|
||||
@@ -0,0 +1,4 @@
|
||||
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
|
||||
@@ -0,0 +1,10 @@
|
||||
@echo off
|
||||
SET c_compiler=gcc
|
||||
SET cpp_compiler=g++
|
||||
SET options=-Wall
|
||||
@echo on
|
||||
|
||||
%c_compiler% ../simple_playback.c -o ../bin/simple_playback.exe %options%
|
||||
%c_compiler% ../simple_capture.c -o ../bin/simple_capture.exe %options%
|
||||
%c_compiler% ../simple_enumeration.c -o ../bin/simple_enumeration.exe %options%
|
||||
%c_compiler% ../advanced_config.c -o ../bin/advanced_config.exe %options%
|
||||
Reference in New Issue
Block a user