fw: Use globbing for FMTFILES

This commit is contained in:
Mikael Ågren 2025-04-11 11:55:04 +02:00
parent 2746070402
commit ba7df35064
No known key found for this signature in database
GPG Key ID: E02DA3D397792C46
2 changed files with 2 additions and 4 deletions

View File

@ -50,9 +50,7 @@ all: testapp.bin
tkey-libs:
make -C $(LIBDIR)
TESTAPP_FMTFILES = \
$(P)/main.c \
$(P)/syscall.h
TESTAPP_FMTFILES = *.[ch]
TESTAPP_OBJS = \
$(P)/main.o \

View File

@ -1,5 +1,5 @@
# Uses ../.clang-format
FMTFILES=main.c
FMTFILES=*.[ch]
.PHONY: fmt
fmt:
clang-format --dry-run --ferror-limit=0 $(FMTFILES)