代码拉取完成,页面将自动刷新
同步操作将从 blues0763/GPSTracker 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#******************************************************************************
# Filename : Makefile
# Project :
# Language :
# Description :
# Edit History :
#******************************************************************************
#*****************************************************************************
# Target name
#*****************************************************************************
TARGET = build\GmAppMain
#*****************************************************************************
# Link File Definitions
#*****************************************************************************
LINK_FILES =
DEBUG_SYMBOLS = 1
export DEBUG_SYMBOLS
#*****************************************************************************
# Source File Definitions
#*****************************************************************************
LIB_SRCS_ASM = app_start.s
include makefile_src.inc
include makefile.inc
ifeq ($(DEBUG_SYMBOLS), 1)
GM_DEF += -D__GOOME_TRACE_DEBUG_ENABLE__=1
else
GM_DEF += -D__GOOME_TRACE_DEBUG_ENABLE__=0
endif
export APP_BUILD_TIME
GM_DEF += -DSW_APP_BUILD_DATE_TIME="\"$(APP_BUILD_TIME)"\"
#*****************************************************************************
# Inclue platfrom information
#*****************************************************************************
include makefile_plat.inc
PLATFORM_SYMBOL_FILE = app_start.sym
PLATFORM_HEADER_FILE = app_start.o
#*****************************************************************************
# Directory Definition
#*****************************************************************************
ALL_DIRS = $(SUB_DIRS) LIB
#*****************************************************************************
# Depedency Library Definition
#*****************************************************************************
ALL_LIBS =
#*****************************************************************************
# Depedency Library full path
#*****************************************************************************
ALL_LIB_FILES = $(addsuffix .lib, $(addprefix $(LIB_DIR)/,$(ALL_LIBS)))
ALL_LINK_LIB_FILES = $(ALL_LIB_FILES)
#*****************************************************************************
# Object creation
#*****************************************************************************
default: prepare $(ALL_DIRS) $(ALL_LIBS) $(TARGET).axf
$(TARGET).axf: $(ALL_OBJS) $(ALL_LIB_FILES)
@copy $(LIB_DIR)\app_start.sym $(OBJ_DIR)\app_start.sym
$(LINK) -o $@ $(LINK_FLAGS) $(TARGET).map -entry Service_Entry -first $(PLATFORM_HEADER_FILE)\(ServiceHeader\)\
$(OBJ_DIR)/$(PLATFORM_SYMBOL_FILE) $(OBJ_DIR)/$(PLATFORM_HEADER_FILE) $(ALL_OBJS)\
$(ALL_LINK_LIB_FILES)
$(BIN_TOOL) $(TARGET).axf -bin -o $(TARGET).bin
prepare:
@if exist $(strip $(OBJ_DIR))\*.log \
@del /f $(strip $(OBJ_DIR))\*.log
@echo ;Building Log > .\$(BUILDLOG)
$(ALL_DIRS):
@$(MKDIR) $@
$(ALL_LIBS):
@$(MAKE) -C prj/$@
all_tools:
@$(MAKE) -C $(TOOLS_DIR)
#*****************************************************************************
# Clean Rule @del build\*
#*****************************************************************************
.PHONY: clean
clean:
@del build\*.o
@del build\*.sym
@del build\*.ex
@del build\*.axf
@del build\*.bin
@del build\*.htm
@del build\*.map
@del build\*.log
@del output\*.bin
@del output\*.ex
.PHONY: clean_sub
clean_sub:
for D in $(ALL_LIBS); do cd prj/$$D ; $(MAKE) clean;cd ../..;done
.PHONY: clean_all
clean_all:
$(MAKE) clean
$(MAKE) clean_sub
# $(MAKE) -C $(COMMON_DIR) clean
#
# make / clean dependency list
#
MAKEFILENAME = makefile
CFLAGSDEPEND = -MM $(C_FLAGS) # for make depend
DEPENDENT_START = \# DO NOT EDIT AFTER THIS LINE -- make depend will generate it.
depend:
$(MAKE) -f $(MAKEFILENAME) clean_depend
$(ECHO) "$(DEPENDENT_START)" >> $(MAKEFILENAME)
$(CC) $(CFLAGSDEPEND) $(ALL_SRCS_C) | sed -e 's/^\(.*\)\.o/OBJ\/\1.o/g' >> $(MAKEFILENAME)
clean_depend:
chmod u+w $(MAKEFILENAME)
(awk 'BEGIN{f=1}\
/^$(DEPENDENT_START)/{f=0} \
{if (f) print $0}'\
< $(MAKEFILENAME) > .depend && mv .depend $(MAKEFILENAME)) || exit 1;
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。