replace pxl8.sh with Makefile, port client and server to Windows

This commit is contained in:
asrael 2026-04-12 14:32:14 -05:00
parent 8d491612ab
commit 8f9317f751
9 changed files with 725 additions and 878 deletions

View file

@ -3,10 +3,10 @@
### Quick Start
```bash
./pxl8.sh build # Build pxl8 system
./pxl8.sh install # Install pxl8 binary to ~/.local/bin
./pxl8.sh run [game.cart | project_dir] # Run pxl8 demo (or a specific game)
./pxl8.sh run [game.cart | project_dir] --repl # Run pxl8 demo (or a specific game) with a REPL
make # Build pxl8 system
make install # Install pxl8 binary to ~/.local/bin
make run # Run pxl8 demo
make run CART="game.cart --repl" # Run a specific game with a REPL
```
### Requirements
@ -14,6 +14,7 @@
- **Clang 19+** (or GCC 15+) - Required for C23 `#embed` support
- **Rust nightly** (edition 2024) - Required for [pxl8d](pxl8d) server
- **SDL3** - System package or auto-vendored
- **MSYS2** (Windows only) - Provides `make` and Unix tools (`scoop install msys2`)
### License