makefile.common

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

COMMON
69
字号
## ----------------------------------------------------------------------#     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#	libtm - T-Monitor equivalent 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.c tm_getchar.c tm_putchar.c tm_getline.c tm_putstring.c \	tm_exit.c tm_command.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 + -
显示快捷键?