diff --git a/README.md b/README.md index 23ed65d..1eec806 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,12 @@ int main() } ``` +#### Best practice for using `ruapu.h` in multiple compilation units + +1. Create one `ruapu.c` for your project +2. `ruapu.c` is **ONLY** `#define RUAPU_IMPLEMENTATION` and `#include "ruapu.h"` +3. Other sources `#include "ruapu.h"` but **NO** `#define RUAPU_IMPLEMENTATION` + OS✅ Windows
✅ Linux
✅ macOS
✅ Android
✅ iOS
✅ FreeBSD
✅ NetBSD
✅ OpenBSD Compiler✅ GCC
✅ Clang
✅ MSVC
✅ MinGW