From 1515fcd2cf3f3d1731cbf5da52708756469abbe4 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sat, 11 Jan 2025 17:45:25 +0100 Subject: [PATCH] Format metatarget --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5415e3c..9263e8f 100644 --- a/Makefile +++ b/Makefile @@ -17,4 +17,8 @@ clean: make -C $$dir clean; \ done -.PHONY: build clean test +format: + find . -type f \( -name "*.cpp" -o -name "*.h" -o -name "*.c" \) -exec clang-format -i {} \; + + +.PHONY: build clean test format