PC app compilation scripts: use NO_CLOSE

Force serial port not to be closed.
This commit is contained in:
ole00 2023-04-07 18:44:35 +01:00
parent 4d98e66cbc
commit cff8fb40a7
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
gcc -g3 -O0 -o afterburner src_pc/afterburner.c
gcc -g3 -O0 -DNO_CLOSE -o afterburner src_pc/afterburner.c

View File

@ -1,4 +1,4 @@
# path to your Win64 cross-compiler
CC=~/opt/mingw64/bin/x86_64-w64-mingw32-gcc
$CC -g3 -O0 -o afterburner_w64.exe src_pc/afterburner.c -D_USE_WIN_API_
$CC -g3 -O0 -o afterburner_w64.exe src_pc/afterburner.c -D_USE_WIN_API_ -DNO_CLOSE