afterburner/compile_win64.sh

8 lines
224 B
Bash
Raw Normal View History

# path to your Win64 cross-compiler
CC=~/opt/mingw64/bin/x86_64-w64-mingw32-gcc
GCOM=`git rev-parse --short HEAD`
$CC -g3 -O0 -o afterburner_w64.exe src_pc/afterburner.c -D_USE_WIN_API_ -DNO_CLOSE -DGCOM="\"g${GCOM}\""