makefile.common
来自「日本著名的的嵌入式实时操作系统T-Kernel的源码及用户手册。」· COMMON 代码 · 共 71 行
COMMON
71 行
## ----------------------------------------------------------------------# 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# libtm - T-Monitor library (common description)## source file dependencies (generated automatically)DEPS = DependenciesDEPENDENCIES_OUTPUT := $(DEPS)# ----------------------------------------------------------------------------# target fileTARGET = libtm.a# source file pathS = ../../srcVPATH = $(S) $(S)/sysdepend/$(TETYPE)_$(MACHINE)HEADER += $(S) $(S)/sysdepend/$(TETYPE)_$(MACHINE)# source filesSRC += tm_monitor.S tm_getchar.S tm_putchar.S tm_getline.S tm_putstring.S \ tm_command.S tm_readdisk.S tm_writedisk.S tm_infodisk.S tm_exit.S \ tm_extsvc.S \ _getchar.c _getstring.c _putchar.c _putstring.c bms_printf.cOBJ = $(addsuffix .o, $(basename $(SRC)))# compiler optionsCFLAGS += $(CFLAGS_WARNING)# ----------------------------------------------------------------------------.PHONY: all clean installALL = $(TARGET)all: $(ALL)$(TARGET): $(OBJ) $(AR) $(ARFLAGS) $@ $? ifdef RANLIB $(RANLIB) $@ endifinstall: $(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 + -
显示快捷键?