1CPRE := @ 2ifeq ($(V),1) 3CPRE := 4VERB := --verbose 5endif 6 7.PHONY:startup 8startup: all 9 10all: 11 @echo "Build Solution by $(BOARD) " 12 $(CPRE) scons $(VERB) --board=$(BOARD) $(MULTITHREADS) $(MAKEFLAGS) 13 @echo AOS SDK Done 14 15sdk: 16 $(CPRE) aos sdk 17 18.PHONY:clean 19clean: 20 $(CPRE) scons -c --board=$(BOARD) 21 $(CPRE) find . -name "*.[od]" -delete 22 $(CPRE) rm -rf aos_sdk aos.elf aos.map aos.bin generated out 23