📄 makefile
字号:
#####################################################################
#
# Created by u'nSP IDE 17:29:54 04/10/07
#
#####################################################################
APPDIR = D:\PROGRA~1\Sunplus\UNSPID~1\unSPIDE
OUTDIR = .\Debug
CC = $(APPDIR)\gcc
AS = $(APPDIR)\xasm16
LD = $(APPDIR)\xlink16
AR = $(APPDIR)\xLib16
RESC = $(APPDIR)\resc
RM = $(APPDIR)\rm -f
INCLUDES = -I"C:/Documents and Settings/lcgang/桌面/AutoTargetTeller/AutoTellor/AutoTellor"
BODY = -body SPCE061A -bfile "D:\Program Files\Sunplus\unSPIDE184\unSPIDE\Body\SPCE061A.cpt"
BINFILE = "$(OUTDIR)\AutoTellor.S37"
ARYFILE = "$(OUTDIR)\AutoTellor.ary"
SBMFILE = "$(OUTDIR)\AutoTellor.sbm"
OPT = -S -gstabs
ASFLAGS = -t2 -d
CASFLAGS = -t2
CFLAGS = $(OPT) -B$(APPDIR)\ $(INCLUDES)
BINTYPE = -as
LDFLAGS =
EXTRAFLAGS =
OBJFILES = \
"$(OUTDIR)\6_48k.res" \
"$(OUTDIR)\7_48k.res" \
"$(OUTDIR)\8_48k.res" \
"$(OUTDIR)\9_48k.res" \
"$(OUTDIR)\10_48k.res" \
"$(OUTDIR)\11_48k.res" \
"$(OUTDIR)\12_48k.res" \
"$(OUTDIR)\13_48k.res" \
"$(OUTDIR)\14_48k.res" \
"$(OUTDIR)\15_48k.res" \
"$(OUTDIR)\Resource.obj" \
"$(OUTDIR)\main.obj" \
"$(OUTDIR)\hardware.obj" \
"$(OUTDIR)\isr.obj" \
"$(OUTDIR)\key.obj" \
"$(OUTDIR)\system.obj"
"$(OUTDIR)\6_48k.res": "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\6.48k"
$(RESC) "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\6.48k" "$(OUTDIR)\6_48k.res" RES_6_48K
"$(OUTDIR)\7_48k.res": "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\7.48k"
$(RESC) "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\7.48k" "$(OUTDIR)\7_48k.res" RES_7_48K
"$(OUTDIR)\8_48k.res": "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\8.48k"
$(RESC) "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\8.48k" "$(OUTDIR)\8_48k.res" RES_8_48K
"$(OUTDIR)\9_48k.res": "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\9.48k"
$(RESC) "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\9.48k" "$(OUTDIR)\9_48k.res" RES_9_48K
"$(OUTDIR)\10_48k.res": "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\10.48k"
$(RESC) "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\10.48k" "$(OUTDIR)\10_48k.res" RES_10_48K
"$(OUTDIR)\11_48k.res": "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\11.48k"
$(RESC) "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\11.48k" "$(OUTDIR)\11_48k.res" RES_11_48K
"$(OUTDIR)\12_48k.res": "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\12.48k"
$(RESC) "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\12.48k" "$(OUTDIR)\12_48k.res" RES_12_48K
"$(OUTDIR)\13_48k.res": "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\13.48k"
$(RESC) "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\13.48k" "$(OUTDIR)\13_48k.res" RES_13_48K
"$(OUTDIR)\14_48k.res": "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\14.48k"
$(RESC) "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\14.48k" "$(OUTDIR)\14_48k.res" RES_14_48K
"$(OUTDIR)\15_48k.res": "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\15.48k"
$(RESC) "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\voice\15.48k" "$(OUTDIR)\15_48k.res" RES_15_48K
"$(OUTDIR)\Resource.obj": "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\Resource.asm"
$(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)\Resource.lst" -o "$(OUTDIR)\Resource.obj" "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\Resource.asm"
"$(OUTDIR)\main.obj": "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\main.c" ".\s480.h"
$(CC) $(CFLAGS) -o "$(OUTDIR)/main.asm" "C:/Documents and Settings/lcgang/桌面/AutoTargetTeller/AutoTellor/AutoTellor/main.c"
$(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)\main.lst" -o "$(OUTDIR)\main.obj" "$(OUTDIR)\main.asm"
"$(OUTDIR)\hardware.obj": "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\hardware.asm"
$(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)\hardware.lst" -o "$(OUTDIR)\hardware.obj" "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\hardware.asm"
"$(OUTDIR)\isr.obj": "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\isr.asm" ".\hardware.inc" ".\S480.inc" ".\Resource.inc"
$(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)\isr.lst" -o "$(OUTDIR)\isr.obj" "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\isr.asm"
"$(OUTDIR)\key.obj": "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\key.asm"
$(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)\key.lst" -o "$(OUTDIR)\key.obj" "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\key.asm"
"$(OUTDIR)\system.obj": "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\system.asm"
$(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)\system.lst" -o "$(OUTDIR)\system.obj" "C:\Documents and Settings\lcgang\桌面\AutoTargetTeller\AutoTellor\AutoTellor\system.asm"
.SUFFIXES : .c .asm .obj .s37 .tsk .res
all : "$(OUTDIR)" $(BINFILE)
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
$(BINFILE) : $(OBJFILES)
$(LD) $(BINTYPE) $(ARYFILE) $(BINFILE) $(LDFLAGS) $(BODY) $(EXTRAFLAGS)
compile : $(OBJFILES)
clean :
$(RM) "$(OUTDIR)\6_48k.res"
$(RM) "$(OUTDIR)\7_48k.res"
$(RM) "$(OUTDIR)\8_48k.res"
$(RM) "$(OUTDIR)\9_48k.res"
$(RM) "$(OUTDIR)\10_48k.res"
$(RM) "$(OUTDIR)\11_48k.res"
$(RM) "$(OUTDIR)\12_48k.res"
$(RM) "$(OUTDIR)\13_48k.res"
$(RM) "$(OUTDIR)\14_48k.res"
$(RM) "$(OUTDIR)\15_48k.res"
$(RM) "$(OUTDIR)\Resource.obj"
$(RM) "$(OUTDIR)\Resource.lst"
$(RM) "$(OUTDIR)\main.obj"
$(RM) "$(OUTDIR)\main.lst"
$(RM) "$(OUTDIR)\main.asm"
$(RM) "$(OUTDIR)\hardware.obj"
$(RM) "$(OUTDIR)\hardware.lst"
$(RM) "$(OUTDIR)\isr.obj"
$(RM) "$(OUTDIR)\isr.lst"
$(RM) "$(OUTDIR)\key.obj"
$(RM) "$(OUTDIR)\key.lst"
$(RM) "$(OUTDIR)\system.obj"
$(RM) "$(OUTDIR)\system.lst"
$(RM) $(BINFILE) $(SBMFILE)
.c.asm:
$(CC) $(CFLAGS) $(INCLUDES) -o "$(OUTDIR)/$@" $<
.asm.obj:
$(AS) $(ASFLAGS) $(INCLUDES) -o "$(OUTDIR)/$@" $<
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -