Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (24 sloc) 512 Bytes
#!/usr/bin/make
DIRS = mbed src
DIRSCLEAN = $(addsuffix .clean,$(DIRS))
all:
@ $(MAKE) -C mbed
@echo Building Smoothie
@ $(MAKE) -C src
clean: $(DIRSCLEAN)
$(DIRSCLEAN): %.clean:
@echo Cleaning $*
@ $(MAKE) -C $* clean
debug-store:
@ $(MAKE) -C src debug-store
flash:
@ $(MAKE) -C src flash
dfu:
@ $(MAKE) -C src dfu
upload:
@ $(MAKE) -C src upload
debug:
@ $(MAKE) -C src debug
console:
@ $(MAKE) -C src console
.PHONY: all $(DIRS) $(DIRSCLEAN) debug-store flash upload debug console dfu
Something went wrong with that request. Please try again.