makefile.common

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

COMMON
67
字号
## ----------------------------------------------------------------------#     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#	T-Kernel/SE - Memory (common description)## source file dependencies (generated automatically)DEPS = DependenciesDEPENDENCIES_OUTPUT := $(DEPS)# ----------------------------------------------------------------------------# target objectTARGET	= memory.oTKSE_INSTALL_DIR = ../../../build/$(TETYPE)_$(MACHINE)S	= ../../src# common source filesSRC	+=	diskmap.c memmgr.c page.c segio.c segmgr.c \		procmap.c ldelf.c fileaccess.c compress.cHEADER_TKSE = $(BD)/tkse/include $(BD)/include/tkseVPATH	+= $(S) $(S)/sysdepend/$(TETYPE)_$(MACHINE)HEADER	:= $(S) $(S)/sysdepend/$(TETYPE)_$(MACHINE) \		$(HEADER_TKSE) $(HEADER)OBJ = $(addsuffix .o, $(basename $(SRC)))# compiler optionsCFLAGS += $(CFLAGS_WARNING) -DUSE_PROCESS_MANAGER# ----------------------------------------------------------------------------.PHONY: all clean installALL = $(TARGET)all: $(ALL)$(TARGET): $(OBJ)	$(LINK_R.o) $^ $(OUTPUT_OPTION)install:	$(BD)/etc/backup_copy -t $(TARGET) $(TKSE_INSTALL_DIR)clean:	$(RM) $(OBJ) $(ALL) $(DEPS)# generate dependencies$(DEPS): ; touch $(DEPS)include $(DEPS)

⌨️ 快捷键说明

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