updated README.md

This commit is contained in:
ti_mo
2026-05-29 11:10:54 +02:00
parent b78359dc02
commit 77b409a8cb
+6 -2
View File
@@ -10,10 +10,14 @@ Of course it is not without usage, I will prepare the app to be hooked in Hyprla
- SDL3 - SDL3
## Installations ## Installations
#### Macos > As of now the only like-indented working implementation is for macOS.
#### macOS
- `brew install sdl3` - `brew install sdl3`
- clone this repo and navigate into it - clone this repo and navigate into it
- `gcc SimpleImageViewer.c -o SimpleImageViewer -Wall -Werror -o3 $(pkg-config --cflags --libs sdl3)` or with `clang` - `gcc SimpleImageViewer.c -o SimpleImageViewer -Wall -Werror -o3 $(pkg-config --cflags --libs sdl3)` or with `clang`
- additional compiler arguments for ide: `-I/opt/homebrew/include -L/opt/homebrew/lib -Wl,-rpath,/opt/homebrew/lib -lSDL3 `
#### Linux #### Linux
- TODO - `sudo pacman -S sdl3 --noconfirm`
- `gcc SimpleImageViewer.c -o SimpleImageViewer -Wall -Werror -o3 $(pkg-config --cflags --libs sdl3) -lm` or with `clang`