map_ma.mak

来自「gsm map协议源代码」· MAK 代码 · 共 83 行

MAK
83
字号
########################################################################
#      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_ma.o
MAKEFILE_NAME         = $(SRC_ROOT)/protocol/map/testmain/map_ma.mak


ifeq ($(MAKE_TYPE), SRC_TYPE)
  VPATH               = 
  SRCS                = $(wildcard $(foreach EVERY_VPATH,$(VPATH),$(EVERY_VPATH)/*.c $(EVERY_VPATH)/*.cpp $(EVERY_VPATH)/*.s))
  EXTRA_INCLUDE	      = 
  EXTRA_DEFINE        = 
else
  LIB_PATH            = 
	LIB_SRC_DIR					= $(SRC_ROOT)/protocol
		OBJS		     = \
			$(subst $(SRC_ROOT),$(OBJS_DIR),$(LIB_SRC_DIR))/tri_cm/tri_cm.o \
			$(subst $(SRC_ROOT),$(OBJS_DIR),$(LIB_SRC_DIR))/tri_sm/tri_sm.o \
			$(subst $(SRC_ROOT),$(OBJS_DIR),$(LIB_SRC_DIR))/map/map.o 

        	               
		MAKES_LIST       = \
        	               $(LIB_SRC_DIR)/tri_cm/makefile  \
            	           $(LIB_SRC_DIR)/tri_sm/makefile  \
            	           $(LIB_SRC_DIR)/map/makefile 	
	

export GLOBAL_MACRO +=
include $(SRC_ROOT)/build/make_link.rule

endif

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 + =
减小字号Ctrl + -
显示快捷键?