diff options
| author | verdant <im@verdant.ee> | 2026-07-28 15:21:32 +0800 |
|---|---|---|
| committer | verdant <im@verdant.ee> | 2026-07-28 15:21:32 +0800 |
| commit | 068cfba9fde6ca16fa1ea54e88d9e12436fe8de8 (patch) | |
| tree | 96d74b17a5f5313923eda459d744145dc9841e89 | |
| parent | 7e6d61fa74cf5ad2ba922d7970a0f1325ecc2253 (diff) | |
| download | sf-068cfba9fde6ca16fa1ea54e88d9e12436fe8de8.tar.gz sf-068cfba9fde6ca16fa1ea54e88d9e12436fe8de8.zip | |
Add format target to Makefile
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) |
