You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
microbit-samples/Makefile

20 lines
408 B

all: build
VERSION := $(shell yt --version 2> /dev/null)
check:
ifeq ($(VERSION),)
@echo you should use before trying anything: source /sync/Module_Dev_app_mobile/yotta/bin/activate
@false
endif
build: check
@yt build
install: check
@cp build/bbc-microbit-classic-gcc/source/microbit-samples-combined.hex /media/$(USER)/MICROBIT/
@echo "Install done"
clean: check
@yt clean
@echo "Cleaning done"