1
0
Fork 0

Do not remove placeholder in make clean target

This commit is contained in:
Silver Kits 2016-09-08 09:36:00 +03:00
parent 5c5ed7a0b5
commit 1a7a0a4630
1 changed files with 3 additions and 1 deletions

View File

@ -71,7 +71,9 @@ $(TARGET):
$(OBJCOPY) $(OBJCOPYARGS) $(ELF) $(TARGET)
clean:
rm -f $(BINDIR)/* $(SRCDIR)/*.o
#Do not remove .placeholder in BINDIR
find $(BINDIR) -type f -not -name '.placeholder' -print0 | xargs -0 rm -f --
rm -f $(SRCDIR)/*.o
install:
$(AVRDUDE) $(AVRDUDEARGS) -U flash:w:$(TARGET)