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

View File

@ -71,7 +71,9 @@ $(TARGET):
$(OBJCOPY) $(OBJCOPYARGS) $(ELF) $(TARGET) $(OBJCOPY) $(OBJCOPYARGS) $(ELF) $(TARGET)
clean: 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: install:
$(AVRDUDE) $(AVRDUDEARGS) -U flash:w:$(TARGET) $(AVRDUDE) $(AVRDUDEARGS) -U flash:w:$(TARGET)