aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: 58b5adb9264854d3dfccec86ca6c5e712762c979 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
BUILDFLAGS := -Drelease-fast=true

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

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

.PHONY: fmt
fmt:
	@zig fmt .