diff --git a/Makefile.include b/Makefile.include
index b7c1b9bb0b1f65213a297d2af8dd93d200d32fdc..3f8338117269571d54156fb00ba66283cda9659c 100644
--- a/Makefile.include
+++ b/Makefile.include
@@ -175,7 +175,7 @@ distclean:
 flash: all
 	$(FLASHER) $(FFLAGS)
 
-term:
+term: $(filter flash, $(MAKECMDGOALS))
 	$(TERMPROG) $(TERMFLAGS)
 
 doc: