mirror of
https://github.com/ole00/afterburner.git
synced 2024-11-28 15:49:49 +00:00
3b4921daa2
The preprocessor symbol helps to distinguish the serial port detection rule (OSX/Linux).
8 lines
198 B
Bash
Executable File
8 lines
198 B
Bash
Executable File
# path to your Osx cross-compiler
|
|
CC=~/opt/osxcross/bin/o64-clang
|
|
|
|
GCOM=`git rev-parse --short HEAD`
|
|
|
|
|
|
$CC -g3 -O0 -D_OSX_ -DNO_CLOSE -DGCOM="\"g${GCOM}\"" -o afterburner_osx src_pc/afterburner.c
|