aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: 3eb994fadb6821b327a00aaa1698d6c00faa5264 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
BUILDFLAGS := -Doptimize=ReleaseFast

.PHONY: all
all: fmt
	@rm -f out.png
	@zig build ${BUILDFLAGS} run

.PHONY: build
build: fmt
	@zig build ${BUILDFLAGS}

.PHONY: fmt
fmt:
	@zig fmt .