Add -O2 to compilation examples
This commit is contained in:
parent
9d0118ba36
commit
2591912d62
@ -21,12 +21,12 @@ The pixel format and screen coordinates are standardized, however, the HID input
|
|||||||
2. `git submodule update --init --recursive` (optional, required for fixed point math)
|
2. `git submodule update --init --recursive` (optional, required for fixed point math)
|
||||||
|
|
||||||
## Platform: null
|
## Platform: null
|
||||||
This platform has a very simple implementation, that is essentially a no-op. It's meant for running a basic test before one makes a proper port.
|
This platform has a very simple implementation, that is essentially a no-op for any possible target. It's meant for running a basic test before one makes a proper port.
|
||||||
1. `cc src/main.c -D unigi_flag_platform_null -o unigi.exe`
|
1. `cc src/main.c -O2 -D unigi_flag_platform_null -o unigi.exe`
|
||||||
|
|
||||||
## Platform: sdl1
|
## Platform: sdl1
|
||||||
This platform implements the highly compatible SDL 1.2, which runs on all sorts of versions of Linux and Windows, as well as big endian CPUs.
|
This platform implements the highly compatible SDL 1.2, which runs on all sorts of versions of Linux and Windows, as well as big endian CPUs.
|
||||||
1. `cc src/main.c -D unigi_flag_platform_sdl1 -l SDL -o unigi.exe`
|
1. `cc src/main.c -O2 -D unigi_flag_platform_sdl1 -l SDL -o unigi.exe`
|
||||||
|
|
||||||
## Advanced configuration
|
## Advanced configuration
|
||||||
### Big Endian (TODO!)
|
### Big Endian (TODO!)
|
||||||
|
Loading…
Reference in New Issue
Block a user