diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,6 @@ +### Copyright (c) 2025 Freya Murphy <freya@freyacat.org> -.PHONY: build clean qemu +.PHONY: build fmt clean qemu .SILENT: UNAME := $(shell uname) @@ -31,6 +32,9 @@ clean: build: zig build +fmt: + clang-format -i $(shell find -type f -name "*.[ch]") + bin/boot.bin: build cd bin && \ objcopy -S -O binary -j .text boot boot.bin |