mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-19 12:05:16 +00:00
15 lines
355 B
Bash
15 lines
355 B
Bash
|
#!/bin/sh
|
||
|
gcc -s -c -w -Wall ../../src/Gamepad_linux.c -o temp/Gamepad_linux.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_linux.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
|
||
|
|