All of the C examples are setup to use the zig build system. You can download zig here (Use version 0.11.0) and just run zig build run in any example.
zig build run