makefile.common

来自「uT Kernel os source code for AT91」· COMMON 代码 · 共 77 行

COMMON
77
字号
## ----------------------------------------------------------------------#     micro T-Kernel##     Copyright (C) 2006-2007 by Ken Sakamura. All rights reserved.#     micro T-Kernel is distributed under the micro T-License.# ----------------------------------------------------------------------##     Version:   1.00.00#     Released by T-Engine Forum(http://www.t-engine.org) at 2007/03/26.## ----------------------------------------------------------------------###	Makefile for gmake#	sysinit (common description)## source file dependencies (generated automatically)DEPS = DependenciesDEPENDENCIES_OUTPUT := $(DEPS)# ----------------------------------------------------------------------------# target objectTARGET	= sysinit.oS	= ../../src# common source filesSRC	+= sysinit_main.c sysstartup.c patch.c inittask_def.cVPATH	+= $(S)HEADER	+= $(S)# additional source files (cpu dependent)VPATH	+= ../../../sysdepend/cpu/$(MACHINE)HEADER	+= ../../../sysdepend/cpu/$(MACHINE)# additional source files (device dependent)VPATH	+= ../../../sysdepend/device/$(TETYPE)_$(MACHINE)HEADER	+=  ../../../sysdepend/device/$(TETYPE)_$(MACHINE)# additional source files (user define)VPATH	+= ../../../usermainHEADER	+=  ../../../usermain# header file path (kernel settings)HEADER  += ../../../tkernel/src# config file path (kernel settings)HEADER  += ../../../../configOBJ	= $(addsuffix .o, $(basename $(SRC)))# compiler optionsCFLAGS	+= $(CFLAGS_WARNING)# ----------------------------------------------------------------------------.PHONY: all cleanALL = $(TARGET) $(CRT0)all: $(ALL)$(TARGET): $(OBJ)	$(LINK_R.o) $^ $(OUTPUT_OPTION)clean:	$(RM) $(OBJ) $(ALL) $(DEPS)# generate dependencies$(DEPS): ; touch $(DEPS)include $(DEPS)

⌨️ 快捷键说明

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