From 2591912d62712db0023d64e4ea31ca6a499de2a1 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Sun, 21 Apr 2024 15:12:09 +0200 Subject: [PATCH] Add -O2 to compilation examples --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d6fd738..34ff04b 100644 --- a/README.md +++ b/README.md @@ -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) ## 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. -1. `cc src/main.c -D unigi_flag_platform_null -o unigi.exe` +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 -O2 -D unigi_flag_platform_null -o unigi.exe` ## 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. -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 ### Big Endian (TODO!)