makefile

来自「COLDFIRE 5282SC的文件」· 代码 · 共 52 行

TXT
52
字号
###############################################################
#
# Master Makefile for all MCF5282 Software Projects
#
# To use, change to this directory, and enter the command:
#
#    make <project>
#
# where <project> is one of the ones listed in this makefile.
#
###############################################################

RM      = rm -fr

###############################################################

help:
	@echo
	@echo "Please supply one of the following options to 'make':"
	@echo
	@echo "  simple            Basic project provided as a template"
	@echo "  all               Build all of the above"
	@echo
	@echo "  [project]-clean   Clean specific project"
	@echo "                    i.e. 'simple-clean'"
	@echo "  all-clean         Clean all projects"
	@echo

########################################################################

simple:
	@ $(MAKE) -f build/diab/simple.make all \
	OBJDIR=obj/diab

simple-clean :
	$(RM) obj/diab/simple

########################################################################

init-clean :
	$(RM) obj/diab/init
	
########################################################################

all:			\
	simple
	
all-clean:
	$(RM) obj/diab
	
########################################################################

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?