Do not remove placeholder in make clean target
This commit is contained in:
parent
5c5ed7a0b5
commit
1a7a0a4630
4
Makefile
4
Makefile
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user