2022-04-20 03:18:15 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
if [ $# -eq 0 ]; then
|
2023-03-26 07:15:28 +02:00
|
|
|
make DEBUG=1 DEVELOPMENT=1 STRICT=1 PROFILE=1 -j
|
2022-04-20 03:18:15 +02:00
|
|
|
else
|
2023-03-26 07:15:28 +02:00
|
|
|
make DEBUG=1 DEVELOPMENT=1 PROFILE=1 -j
|
2022-04-20 03:18:15 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
# find file
|
|
|
|
FILE=./build/us_pc/sm64.us.f3dex2e.exe
|
|
|
|
if [ ! -f "$FILE" ]; then
|
|
|
|
FILE=./build/us_pc/sm64.us.f3dex2e
|
|
|
|
fi
|
|
|
|
|
|
|
|
$FILE &
|