From 41b4b0e249d2e473e7974646a908f71ca1ac4031 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 7 Dec 2022 00:05:23 +0900 Subject: enable optimization --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index da02229..58b5adb 100644 --- a/Makefile +++ b/Makefile @@ -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: -- cgit v1.2.3-70-g09d2