From 0ff301cda68669c59351e5854ce98f2cf460543f Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Thu, 27 Mar 2025 11:39:12 -0400 Subject: pull upstream changes, add auto formatting --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3cf44fe..1283f3a 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ +### Copyright (c) 2025 Freya Murphy -.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 -- cgit v1.2.3-freya