From 281d4d72c54d159ac1547cc8df66a1659cdf8a7f Mon Sep 17 00:00:00 2001 From: Silver Kits Date: Fri, 21 Oct 2016 13:48:22 +0300 Subject: [PATCH] Format only .c files in source directory with make format --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dfd83ba..17781b9 100644 --- a/Makefile +++ b/Makefile @@ -91,7 +91,7 @@ install: $(AVRDUDE) $(AVRDUDEARGS) -U flash:w:$(TARGET) format: - $(CODE_FORMATTER) $(SRC) + $(CODE_FORMATTER) $(SRCDIR)/*.c size: $(AVRSIZE) $(AVRSIZEARGS) $(ELF)