shithub: sf2mid

ref: ad9b00f65a7810370908ed56e188b5a4ed61e14e
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!