📄 stopwatch.mak
字号:
#================================================================
# DebugFactory Builder make file
#
# Author : Matsushita Electrical Industrial Co., Ltd.
#
# FileName :StopWatch.mak
#================================================================
#================================================================
# According to DebugFactory Builder rules,
# editing can be performed from IDE for the following macro definitions with
#
#DebugFactory Builder.
#
#PROJECT : target
#SOURCEFILE : source file
#TOOLDIR : tool storage directory
#CC : compiler name
#ASM : assembler name
#LINK : linker name
#CINC : include file path (for compiler)
#AINC : include file path (for assembler)
#LIBPATH : library file path
#LIBFILES : library name
#CFLAGS : compiler options
#AFLAGS : assembler options
#LFLAGS : linker options
#OBJECTOUTPUTDIR : object file (*.rf) output directory
#
# options, etc., can be added by direct entry in make file. When the above macros are edited, editing
# is reflected in IDE.
#================================================================
#================================================================
# Target setting
#================================================================
PROJECT = StopWatch.ex
#================================================================
# User macro definition
#================================================================
#========================DFUSRDEFMACRO_S==============================
#========================DFUSRDEFMACRO_E==============================
#================================================================
# Source file setting
#================================================================
SOURCEFILE = .\StopWatch.c \
.\int.c \
.\lcd.c \
.\boot49k.asm \
#================================================================
# Intermediate file setting
#================================================================
OBJFILES = .\StopWatch.rf \
.\int.rf \
.\lcd.rf \
.\boot49k.rf \
#================================================================
# Tool storage directory
#================================================================
TOOLDIR = C:\PANASO~1\DEBUGF~1\Builder3\MN101C~1\Tools\CC101C\BIN
#================================================================
# Tool setting
#================================================================
CC = Cc101c.exe
ASM = As101c.exe
LINK = Ld101c.exe
#================================================================
# C source include file path setting
#================================================================
CINC = -I..\..\Tools\CC101C\INCLUDE
#================================================================
# Assembler include path setting
#================================================================
AINC = -I..\..\Tools\CC101C\INCLUDE
#================================================================
# Library path setting
#================================================================
LIBPATH = -L..\..\Tools\CC101C\LIB
#================================================================
# Library setting
#================================================================
LIBFILES = -lCC101C.LIB
#================================================================
# Compiler option setting
#================================================================
CFLAGS = -c -fenable-asm -funsigned-bfield -fc9x-comment -fchar-bfield -fmsb-bfield -e -g -Qas=-l -Qas=-g -Qas=-Vd -Qas=-e -Qas=$(AINC) -L
#================================================================
# Local option setting
#================================================================
#================================================================
# Assembler option setting
#================================================================
AFLAGS = -l -g -Vd -e $(AINC)
#================================================================
# Linker option setting
#================================================================
LFLAGS = -g -m -e
#================================================================
# Object file (*.RF) output directory setting
#================================================================
OBJECTOUTPUTDIR = .\\
#================================================================
# Target (EX)
#================================================================
$(PROJECT): $(OBJFILES)
$(LINK) @&&|
-o.\$(PROJECT)
$(LFLAGS)
$(LIBPATH)
-T_STEXT=5808
-T_DATA,_GDATA,_BSS,_GBSS=0016
.\boot49k.rf
.\StopWatch.rf
.\int.rf
.\lcd.rf
$(LIBFILES)
|
#================================================================
# Post-make user-defined processing
#================================================================
#========================DFUSRADEF_S==============================
#========================DFUSRADEF_E==============================
#================================================================
# Execution command
#================================================================
.\StopWatch.rf: .\StopWatch.c
$(CC) -@&&|
$(CFLAGS)
$(CINC)
-o$(OBJECTOUTPUTDIR)STOPWATCH.rf .\StopWatch.c
|
.\int.rf: .\int.c
$(CC) -@&&|
$(CFLAGS)
$(CINC)
-o$(OBJECTOUTPUTDIR)INT.rf .\int.c
|
.\lcd.rf: .\lcd.c
$(CC) -@&&|
$(CFLAGS)
$(CINC)
-o$(OBJECTOUTPUTDIR)LCD.rf .\lcd.c
|
.\boot49k.rf: .\boot49k.asm
$(ASM) $(AFLAGS) -o$(OBJECTOUTPUTDIR)$(@F) .\boot49k.asm
#================================================================
# Pre-make user-defined processing
#================================================================
#========================DFUSRBDEF_S==============================
#========================DFUSRBDEF_E==============================
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -