mirror of
https://github.com/ole00/afterburner.git
synced 2024-11-22 06:32:01 +00:00
PC app compilation scripts: use NO_CLOSE
Force serial port not to be closed.
This commit is contained in:
parent
4d98e66cbc
commit
cff8fb40a7
@ -1 +1 @@
|
|||||||
gcc -g3 -O0 -o afterburner src_pc/afterburner.c
|
gcc -g3 -O0 -DNO_CLOSE -o afterburner src_pc/afterburner.c
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# path to your Win64 cross-compiler
|
# path to your Win64 cross-compiler
|
||||||
CC=~/opt/mingw64/bin/x86_64-w64-mingw32-gcc
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user