📄 makefile.common
字号:
## ----------------------------------------------------------------------# T-Kernel / Standard Extension## Copyright (C) 2006 by Ken Sakamura. All rights reserved.# T-Kernel / Standard Extension is distributed # under the T-License for T-Kernel / Standard Extension.# ----------------------------------------------------------------------## Version: 1.00.00# Released by T-Engine Forum(http://www.t-engine.org) at 2006/8/11.## ----------------------------------------------------------------------### Makefile for gmake# crttkse - T-Kernel/SE startup routine (common description)## source file dependencies (generated automatically)DEPS = DependenciesDEPENDENCIES_OUTPUT := $(DEPS)# ----------------------------------------------------------------------------# source file pathS = ../../srcHEADER_TKSE = $(BD)/tkse/include $(BD)/include/tkseVPATH = $(S) $(S)/sysdepend/$(MACHINE)HEADER := $(S) $(S)/sysdepend/$(MACHINE) $(HEADER_TKSE) $(HEADER)# ----------------------------------------------------------------------------# target fileTARGET = crttkse.o# source filesSRC += main.c startup_elf.c# object filesOBJ = $(addsuffix .o, $(basename $(SRC)))# compiler optionsCFLAGS += $(CFLAGS_WARNING)# ----------------------------------------------------------------------------.PHONY: all clean installALL = $(TARGET)all: $(ALL)$(TARGET): $(OBJ) $(LINK_R.o) $^ $(OUTPUT_OPTION)install: $(addprefix $(LIB_INSTALLDIR)/, $(ALL))clean: $(RM) $(OBJ) $(ALL) $(DEPS)# generate dependenciesifdef DEPENDENCIES_OUTPUT $(DEPS): ; touch $(DEPS)else $(DEPS): $(SRC) ; $(MAKEDEPS) $@ $?endifinclude $(DEPS)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -