sm64ex-coop/developer/clang.sh

17 lines
286 B
Bash
Executable File

#!/bin/bash
set -e
if [ $# -eq 0 ]; then
make DEBUG=1 DEVELOPMENT=1 STRICT=1 COMPILER=clang -j
else
make DEBUG=1 DEVELOPMENT=1 COMPILER=clang -j
fi
# find file
FILE=./build/us_pc/sm64.us.f3dex2e.exe
if [ ! -f "$FILE" ]; then
FILE=./build/us_pc/sm64.us.f3dex2e
fi
$FILE &