makefile.common

来自「T-kernel 的extension源代码」· COMMON 代码 · 共 71 行

COMMON
71
字号
## ----------------------------------------------------------------------#     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 + =
减小字号Ctrl + -
显示快捷键?