submakefile

来自「Source code for an Numeric Cmputer」· 代码 · 共 14 行

TXT
14
字号
# This is a skeleton makefile for a subdirectory# HALSKELETONSRCS is a nice way to collect some source file names.  Use $(patsubst) or# $(addprefix) if you are listing a bunch of files from a subdirectory and# would like to save a few keystrokes.HALSKELETONSRCS := \	hal/drivers/hal_skeleton.c hal/hal_lib.c $(ULAPISRCS)USERSRCS += $(HALSKELETONSRCS)# This is how the binary 'hal_skeleton' is linked.../bin/hal_skeleton: $(call TOOBJS, $(HALSKELETONSRCS))	$(CXX) -o $@ $^ userspace: ../bin/hal_skeleton

⌨️ 快捷键说明

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