shithub: sf2mid

ref: d944b669101c3bc474050913f70dc5c324632459
dir: /examples/build-linux-gcc.sh/

View raw version
echo Building \'example1-linux-`uname -m`\' ...
gcc -Wall example1.c minisdl_audio.c -lm -ldl -lpthread -o example1-linux-`uname -m`
echo Building \'example2-linux-`uname -m`\' ...
gcc -Wall example2.c minisdl_audio.c -lm -ldl -lpthread -o example2-linux-`uname -m`
echo Building \'example3-linux-`uname -m`\' ...
gcc -Wall example3.c minisdl_audio.c -lm -ldl -lpthread -o example3-linux-`uname -m`
echo Done!