diff options
| author | nsfisis <nsfisis@gmail.com> | 2022-12-07 00:05:23 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2022-12-07 00:05:23 +0900 |
| commit | 41b4b0e249d2e473e7974646a908f71ca1ac4031 (patch) | |
| tree | ca69c6f7c567498b71ddd689d3b8900e91f776ca | |
| parent | f414f8428584cc609d7ca302faf56c82ebf7fa67 (diff) | |
| download | RayTracingInOneWeekend.zig-41b4b0e249d2e473e7974646a908f71ca1ac4031.tar.gz RayTracingInOneWeekend.zig-41b4b0e249d2e473e7974646a908f71ca1ac4031.tar.zst RayTracingInOneWeekend.zig-41b4b0e249d2e473e7974646a908f71ca1ac4031.zip | |
enable optimization
| -rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,11 +1,13 @@ +BUILDFLAGS := -Drelease-fast=true + .PHONY: all all: fmt @rm -f out.ppm - @zig build run > out.ppm + @zig build ${BUILDFLAGS} run > out.ppm .PHONY: build build: fmt - @zig build + @zig build ${BUILDFLAGS} .PHONY: fmt fmt: |
