make: term depends on flash

If you provide both `flash` and `term` as Make goals, then `term` needs
to wait for flash.
This commit is contained in:
René Kijewski 2014-12-03 11:33:27 +01:00
parent bd80cbcaff
commit 19a017cf03

View File

@ -175,7 +175,7 @@ distclean:
flash: all flash: all
$(FLASHER) $(FFLAGS) $(FLASHER) $(FFLAGS)
term: term: $(filter flash, $(MAKECMDGOALS))
$(TERMPROG) $(TERMFLAGS) $(TERMPROG) $(TERMFLAGS)
doc: doc: