sm64ex-coop/developer/profile.sh

17 lines
276 B
Bash
Raw Normal View History

2022-04-20 03:18:15 +02:00
#!/bin/bash
set -e
if [ $# -eq 0 ]; then
make DEBUG=1 DEVELOPMENT=1 STRICT=1 PROFILE=1 -j
2022-04-20 03:18:15 +02:00
else
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 &