1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-09-16 07:23:54 +00:00
qb64/internal/c/parts/input/game_controller/os/osx/build.command
2020-01-02 14:13:56 +11:00

14 lines
369 B
Bash
Executable file

cd "$(dirname "$0")"
gcc -s -c -w -Wall ../../src/Gamepad_macosx.c -o temp/Gamepad_macosx.o
gcc -s -c -w -Wall ../../src/Gamepad_private.c -o temp/Gamepad_private.o
ar rcs src.a temp/Gamepad_private.o temp/Gamepad_macosx.o
echo "Press any key to continue..."
Pause()
{
OLDCONFIG=`stty -g`
stty -icanon -echo min 1 time 0
dd count=1 2>/dev/null
stty $OLDCONFIG
}
Pause