From 16ec5d2d7bc6368b81a91d7241975047095e596e Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sat, 6 Jul 2024 15:46:24 +0200 Subject: [PATCH] FreeBSD-like make targets for kernel, world and fs --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 61ea62d..f3cabf5 100644 --- a/Makefile +++ b/Makefile @@ -171,5 +171,11 @@ qemu-gdb: $K/kernel .gdbinit fs.img @echo "*** Now run 'gdb' in another window." 1>&2 $(QEMU) $(QEMUOPTS) -S $(QEMUGDB) +kernel: $K/kernel + +fs: fs.img + +world: $(UPROGS) + format: find . -name "*.[ch]" | xargs clang-format -i