From 5392c8e418e59615dbf8788374b43139a540b012 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Mon, 12 May 2025 12:09:50 +0200 Subject: [PATCH] Formatting target --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 4ba2f9f..e1296cf 100644 --- a/Makefile +++ b/Makefile @@ -21,5 +21,10 @@ tags: compile_commands.json: bear -- make +format: + clang-format -i $(shell git ls-files '*.c' '*.h') + clean: rm -rf $(OBJ) $(ELF) *.json .cache + + .PHONY: format