diff --git a/README.md b/README.md index a32b351..37ca152 100644 --- a/README.md +++ b/README.md @@ -256,14 +256,12 @@ the file extension. To build an example, use the following: ``` -$ zig build -Dexample-name=_basic.zig +$ zig build -Demit-example=true ... -$ zig-out/bin/example-basic +$ zig-out/bin/example-name ... ``` -The `-Dexample-name` value should be the filename including the extension. - ### Code Comments The Zig code is well commented. If you're comfortable reading code comments diff --git a/examples/_basic.c b/examples/basic.c similarity index 100% rename from examples/_basic.c rename to examples/basic.c