📄 makefile
字号:
#
# ======== makefile ========
#
# This "top level" make file can be used with GNU's make utility
# to (re)build XDAS examples
#
# To (re)build from scratch type the following:
# gmake clean
# gmake
#
# subdirs = list of all sub-directories containing a makefile
# submake = a definition to perform a sub-make with an embedded new
# line. Do not remove the blank line! This line is required
# to ensure that the $(foreach ...) function used below
# generates a separate line for each sub-directory
# makeall = recursive sub-make for each directory defined in $(subdirs)
#
subdirs = $(dir $(wildcard */makefile))
define submake
$(MAKE) -C $(var) $@
endef
makeall = $(foreach var,$(subdirs),$(submake))
all:
@echo making all files in the directories $(subdirs) ...
+@$(makeall)
clean::
@echo "cleaning $(subdirs) ..."
@$(makeall)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -