actualitzat makefile

This commit is contained in:
2026-04-03 21:27:00 +02:00
parent 5f0d1f9577
commit e150097edc
4 changed files with 195 additions and 253 deletions

View File

@@ -16,17 +16,15 @@ cmake -B build -DCMAKE_BUILD_TYPE=Debug # configure
cmake --build build # build
```
### Makefile (direct compilation, platform-specific targets)
### Makefile (delegates to CMake)
```bash
make linux # build for Linux
make linux_debug # debug build with -DDEBUG -DVERBOSE
make # build Release via cmake
make debug # build Debug via cmake
make release # create release package (auto-detects OS)
make linux_release # release tar.gz with resources.pack
make windows # build for Windows (cross-compile or native)
make windows_debug # Windows debug build
make macos # build for macOS (arm64)
make raspi # build for Raspberry Pi
make anbernic # build for Anbernic (no shaders, arcade mode)
make no_audio # build without audio system
make windows_release # release zip for Windows
make macos_release # release dmg for macOS (Intel + Apple Silicon)
make raspi_release # release tar.gz for Raspberry Pi
```
### Tools & Resources