Example C program with zig build that can target Windows, Mac and Linux.
 
 
Go to file
Abner Coimbre 04a2f7d3d3 Initial README instructions 2026-01-29 17:59:51 -08:00
data Initial project 2026-01-29 17:55:20 -08:00
inc Initial project 2026-01-29 17:55:20 -08:00
.gitignore Initial commit 2026-01-30 01:06:01 +00:00
LICENSE Initial commit 2026-01-30 01:06:01 +00:00
README.md Initial README instructions 2026-01-29 17:59:51 -08:00
build.zig Initial project 2026-01-29 17:55:20 -08:00
main.c Initial project 2026-01-29 17:55:20 -08:00

README.md

Majora's Screensaver

Example C program with zig build that can target Windows, Mac and Linux.

Instructions

  1. Download Zig v0.15.2 (stable)
  2. Ensure Zig is on your PATH
  3. Navigate to our project's root directory
  4. Call zig build
  5. Run ./zig-out/bin/screensaver

For Apple users who want a macOS app bundle, call zig build bundle instead.