Make compilation documentation even more agnostic

This commit is contained in:
Fierelier 2024-04-21 17:13:37 +02:00
parent df919a08b5
commit 9d3d6e9139

View File

@ -22,11 +22,11 @@ The pixel format and screen coordinates are standardized, however, the HID input
## Platform: null ## Platform: null
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. 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 -Dunigi_flag_platform_null -o unigi.exe` 1. `cc src/main.c -Dunigi_flag_platform_null`
## 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 -Dunigi_flag_platform_sdl1 -l SDL -o unigi.exe` 1. `cc src/main.c -Dunigi_flag_platform_sdl1 -lSDL`
## Advanced configuration ## Advanced configuration
### No stdint.h ### No stdint.h