From 6c9907b357775f978dd57e71ce0aaec52a93a29f Mon Sep 17 00:00:00 2001 From: Ludwig Ortmann Date: Wed, 19 Nov 2014 15:04:51 +0100 Subject: [PATCH] make: reintroduce dependency from flash to all --- Makefile.include | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Makefile.include b/Makefile.include index 8e91779444..6f3b40b0b1 100644 --- a/Makefile.include +++ b/Makefile.include @@ -171,16 +171,7 @@ distclean: -@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTBASE)/pkg/$$i distclean ; done -@rm -rf $(BINDIRBASE) -flash: $(filter all all-%, $(MAKECMDGOALS)) - @if [ ! -f $${HEXFILE} ]; then \ - echo ""; \ - echo ""; \ - echo "You need to create a hex file before you can flash it."; \ - echo "Unless you know otherwise, 'make all' usually does what you want."; \ - echo ""; \ - echo ""; \ - exit 1; \ - fi +flash: all $(FLASHER) $(FFLAGS) term: