Format only .c files in source directory with make format

This commit is contained in:
Silver Kits 2016-10-21 13:48:22 +03:00
parent e6888bd251
commit 2ea46d4402

View File

@ -92,7 +92,7 @@ install:
$(AVRDUDE) $(AVRDUDEARGS) -U flash:w:$(TARGET) $(AVRDUDE) $(AVRDUDEARGS) -U flash:w:$(TARGET)
format: format:
$(CODE_FORMATTER) $(SRC) $(CODE_FORMATTER) $(SRCDIR)/*.c
size: size:
$(AVRSIZE) $(AVRSIZEARGS) $(ELF) $(AVRSIZE) $(AVRSIZEARGS) $(ELF)