📄 makefile
字号:
########################################################################
# Makefile file for #
# Created by #
# Created time: #
########################################################################
########################################################################
# Set makefile's type (SRC_TYPE or LINK_TYPE) (you must set it)
########################################################################
MAKE_TYPE = LINK_TYPE
NEED_TRI_SSI = YES
PRODUCT_NAME = map.o
MAKEFILE_NAME = $(SRC_ROOT)/protocol/map/makefile
OBJS = \
$(subst $(SRC_ROOT),$(OBJS_DIR),$(MAKEFILE_DIR))/bdy/mapbd.o
MAKES_LIST = \
$(MAKEFILE_DIR)/bdy/makefile
ifdef MAP_TEST_TYPE
OBJS += $(subst $(SRC_ROOT),$(OBJS_DIR),$(MAKEFILE_DIR))/test/test.o
MAKES_LIST += $(MAKEFILE_DIR)/test/makefile
endif
ifdef PROTOCOL_WITH_PSF
OBJS += $(subst $(SRC_ROOT),$(OBJS_DIR),$(MAKEFILE_DIR))/psf/mapsf.o
MAKES_LIST += $(MAKEFILE_DIR)/psf/makefile
endif
LIB_PATH =
export GLOBAL_MACRO +=
include $(SRC_ROOT)/build/make_link.rule
LIB_OBJS =
########################################################################
# root directory (you must set it)
# if you source code is not in current directory, you must set VPATH
########################################################################
########################################################################
# include rules and common directory definition
########################################################################
#-----------------------------------------------------------------------
ifndef SRC_ROOT
exit_to_setenv:
@echo Must define SRC_ROOT!
else
ifndef OBJS_DIR
exit_to_setenv:
@echo Must define OBJS_DIR!
else
ifndef CPU
exit_to_setenv:
@echo Must define CPU!
else
include $(SRC_ROOT)/build/makefile.rules
endif
endif
endif
#-----------------------------------------------------------------------
########################################################################
# (you could add your product name in PRODUCT_NAME)
# (you could add your source code in SRCS)
# (you could add your object in OBJS)
# (you could add depend in DEPEND)
########################################################################
########################################################################
# targets definition
########################################################################
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -