sm64coopdx/developer/profile.sh

17 lines
306 B
Bash
Raw Normal View History

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