This directory contains various usage examples and test cases. If no backend repo found for static linking, then links with GLFW3 dynamically.
Command | Description |
---|---|
make |
Compile all examples |
make static-glfw3 |
Download GLFW for static linking |
make static-sdl3 |
Download SDL3 for static linking |
make static-sdl2 |
Download and patch the legacy SDL2 for static linking |
make clean |
Clean the executables |
make distclean |
Clean the executables as well as the backend libraries |
DEBUG=1 make |
Compile with debug information |
If ssfn.h
exists, then ssfn.c
also compiled, which is the Hello World example but with SSFN fonts.
If stb_image.h
exists, then widgets.c
also compiled into skin
, which uses skin.png for SMGUI skinning.