aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2022-12-03 21:36:14 +0900
committernsfisis <nsfisis@gmail.com>2022-12-03 21:36:14 +0900
commit40bb5cc422aefd6c8015d9f4b2d0dbfb63691729 (patch)
tree7baeffbaa682d10d634f8365be798ad5ddd6ff1a
parent2658931355ae7ba41a6bf4d6176162ae43a7ee5b (diff)
downloadRayTracingInOneWeekend.zig-40bb5cc422aefd6c8015d9f4b2d0dbfb63691729.tar.gz
RayTracingInOneWeekend.zig-40bb5cc422aefd6c8015d9f4b2d0dbfb63691729.tar.zst
RayTracingInOneWeekend.zig-40bb5cc422aefd6c8015d9f4b2d0dbfb63691729.zip
add Makefile target, build
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 995d209..da02229 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,10 @@ all: fmt
@rm -f out.ppm
@zig build run > out.ppm
+.PHONY: build
+build: fmt
+ @zig build
+
.PHONY: fmt
fmt:
@zig fmt .