From 068cfba9fde6ca16fa1ea54e88d9e12436fe8de8 Mon Sep 17 00:00:00 2001 From: verdant Date: Tue, 28 Jul 2026 15:21:32 +0800 Subject: Add format target to Makefile --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 883e208..1ef292e 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ TEST_SRC=test/fm_draw_entries.c TEST_OBJ=dir.o mem.o err.o log.o TEST_BIN=fm_draw_entries -.PHONY: all test clean +.PHONY: all test clean format all: $(TARGET) @@ -40,3 +40,6 @@ analyze: clean: rm -f $(OBJS) $(TARGET) rm -f ./asan* + +format: + clang-format -i $(SRCS) -- cgit v1.2.3