📄 makefile.common
字号:
## ----------------------------------------------------------------------# T-Kernel## Copyright (C) 2004 by Ken Sakamura. All rights reserved.# T-Kernel is distributed under the T-License.# ----------------------------------------------------------------------## Version: 1.01.00# Released by T-Engine Forum(http://www.t-engine.org) at 2004/6/28.## ----------------------------------------------------------------------### Makefile for gmake# T-Kernel/System Manager (common description)## source file dependencies (generated automatically)DEPS = DependenciesDEPENDENCIES_OUTPUT := $(DEPS)# ----------------------------------------------------------------------------# target objectTARGET = sysmgr.oS = ../../src# common source filesSRC += smmain.c system.c imalloc.c syslog.c \ device.c deviceio.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)OBJ = $(addsuffix .o, $(basename $(SRC)))# compiler optionsCFLAGS += $(CFLAGS_WARNING)# ----------------------------------------------------------------------------.PHONY: all cleanALL = $(TARGET)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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -