We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07d86ab commit b70c8d9Copy full SHA for b70c8d9
Makefile
@@ -0,0 +1,12 @@
1
+# SDL2 Game GUI with buttons and text rendering
2
+
3
+# Requirements : compilation requires SDL2 and SDL2_ttf development libraries .
4
5
+# On Windows with MSYS2 + MinGW64: pacman -S mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_ttf --needed
6
+# On Debian/Ubuntu: sudo apt install libsdl2-dev libsdl2-ttf-dev
7
+# On Fedora: sudo dnf install SDL2-devel SDL2_ttf-devel
8
+# On Arch Linux: sudo pacman -S sdl2 sdl2_ttf
9
+# On macOS: brew install sdl2 sdl2_ttf
10
11
+build:
12
+ g++ -o sdl-game-gui sdl-game-gui.cpp $(shell pkg-config --cflags --libs SDL2_ttf)
0 commit comments