📄 makefile.common
字号:
## ----------------------------------------------------------------------# 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 - Task communication (common description)## source file dependencies (generated automatically)DEPS = DependenciesDEPENDENCIES_OUTPUT := $(DEPS)# ----------------------------------------------------------------------------# target objectTARGET = tcmgr.oTKSE_INSTALL_DIR = ../../../build/$(TETYPE)_$(MACHINE)S = ../../src# common source filesHEADER_TKSE = $(BD)/tkse/include $(BD)/include/tkseVPATH += $(S)HEADER := $(S) $(HEADER_TKSE) $(HEADER)SRC = main.c tksem.c tkmtx.c tkflg.c tkmbf.c tkpor.c tkmbx.cOBJ = $(addsuffix .o, $(basename $(SRC)))SRC.C = $(strip $(patsubst %.C, %.c, $(filter %.C, $(SRC))))# compiler optionsCFLAGS += $(CFLAGS_WARNING)# ----------------------------------------------------------------------------.PHONY: all clean installALL = $(TARGET)all: $(ALL)$(TARGET): $(OBJ) $(LINK_R.o) $^ $(OUTPUT_OPTION)import: cd $S; $(RM) \#tcmgr.h; $(BD)/etc/mkimport tcmgr.hinstall: $(BD)/etc/backup_copy -t $(TARGET) $(TKSE_INSTALL_DIR)clean: $(RM) $(OBJ) $(SRC.C) $(ALL) $(DEPS)# generate dependencies$(DEPS): ; touch $(DEPS)include $(DEPS)$(SRC.C):
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -