⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 电压控制程序,符合各种设备需要,核心程序,IBm专属
💻
字号:
#####################################################################
#																	 
#	Created by u'nSP IDE		09:56:24	08/28/06
#
#####################################################################




APPDIR	= C:\PROGRA~1\Sunplus\UNSPID~1.0

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/liuxue/桌面/Example/example/IntExa/ex4_ Recognise_LCD"

BODY	= -body SPCE060A_061A -bfile "C:\Program Files\Sunplus\unSP IDE Common\Body\SPCE060A_061A.cpt"

BINFILE	= "$(OUTDIR)\ex4_ Recognise_LCD.S37"

ARYFILE	= "$(OUTDIR)\ex4_ Recognise_LCD.ary"

SBMFILE	= "$(OUTDIR)\ex4_ Recognise_LCD.sbm"

OPT	= -S -gstabs -mglobal-var-iram

ASFLAGS	= -t2 -d

CASFLAGS	= -t2 

CFLAGS	= $(OPT) -B$(APPDIR)\ $(INCLUDES) 

BINTYPE	= -as

LDFLAGS	= 

EXTRAFLAGS	= 


OBJFILES	= \
	"$(OUTDIR)\hoo_16k.res" \
	"$(OUTDIR)\OHOH_16k.res" \
	"$(OUTDIR)\ZZZ_24K.res" \
	"$(OUTDIR)\begin_16k.res" \
	"$(OUTDIR)\C2_24K.res" \
	"$(OUTDIR)\C3_24K.res" \
	"$(OUTDIR)\C7_24K.res" \
	"$(OUTDIR)\C9_24K.res" \
	"$(OUTDIR)\5_16k.res" \
	"$(OUTDIR)\1_16k.res" \
	"$(OUTDIR)\2_16k.res" \
	"$(OUTDIR)\3_16k.res" \
	"$(OUTDIR)\4_16k.res" \
	"$(OUTDIR)\Resource.obj" \
	"$(OUTDIR)\DataOSforLCD.obj" \
	"$(OUTDIR)\hardware.obj" \
	"$(OUTDIR)\isr.obj" \
	"$(OUTDIR)\SPLC501Driver_IO.obj" \
	"$(OUTDIR)\SPLC501User.obj" \
	"$(OUTDIR)\face.obj" \
	"$(OUTDIR)\main.obj" \
	"$(OUTDIR)\Sound.obj" 

"$(OUTDIR)\hoo_16k.res": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\hoo.16k"
	$(RESC) "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\hoo.16k" "$(OUTDIR)\hoo_16k.res" RES_HOO_16K 

"$(OUTDIR)\OHOH_16k.res": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\OHOH.16k"
	$(RESC) "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\OHOH.16k" "$(OUTDIR)\OHOH_16k.res" RES_OHOH_16K 

"$(OUTDIR)\ZZZ_24K.res": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\ZZZ.24K"
	$(RESC) "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\ZZZ.24K" "$(OUTDIR)\ZZZ_24K.res" RES_ZZZ_24K 

"$(OUTDIR)\begin_16k.res": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\begin.16k"
	$(RESC) "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\begin.16k" "$(OUTDIR)\begin_16k.res" RES_BEGIN_16K 

"$(OUTDIR)\C2_24K.res": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\C2.24K"
	$(RESC) "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\C2.24K" "$(OUTDIR)\C2_24K.res" RES_C2_24K 

"$(OUTDIR)\C3_24K.res": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\C3.24K"
	$(RESC) "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\C3.24K" "$(OUTDIR)\C3_24K.res" RES_C3_24K 

"$(OUTDIR)\C7_24K.res": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\C7.24K"
	$(RESC) "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\C7.24K" "$(OUTDIR)\C7_24K.res" RES_C7_24K 

"$(OUTDIR)\C9_24K.res": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\C9.24K"
	$(RESC) "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\C9.24K" "$(OUTDIR)\C9_24K.res" RES_C9_24K 

"$(OUTDIR)\5_16k.res": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\5.16k"
	$(RESC) "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\5.16k" "$(OUTDIR)\5_16k.res" RES_5_16K 

"$(OUTDIR)\1_16k.res": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\1.16k"
	$(RESC) "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\1.16k" "$(OUTDIR)\1_16k.res" RES_1_16K 

"$(OUTDIR)\2_16k.res": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\2.16k"
	$(RESC) "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\2.16k" "$(OUTDIR)\2_16k.res" RES_2_16K 

"$(OUTDIR)\3_16k.res": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\3.16k"
	$(RESC) "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\3.16k" "$(OUTDIR)\3_16k.res" RES_3_16K 

"$(OUTDIR)\4_16k.res": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\4.16k"
	$(RESC) "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Voice\4.16k" "$(OUTDIR)\4_16k.res" RES_4_16K 

"$(OUTDIR)\Resource.obj": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Resource.asm" 
	$(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)\Resource.lst" -o "$(OUTDIR)\Resource.obj" "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Resource.asm" 

"$(OUTDIR)\DataOSforLCD.obj": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\DataOSforLCD.asm" 
	$(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)\DataOSforLCD.lst" -o "$(OUTDIR)\DataOSforLCD.obj" "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\DataOSforLCD.asm" 

"$(OUTDIR)\hardware.obj": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\hardware.asm" 
	$(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)\hardware.lst" -o "$(OUTDIR)\hardware.obj" "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\hardware.asm" 

"$(OUTDIR)\isr.obj": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\isr.asm" 
	$(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)\isr.lst" -o "$(OUTDIR)\isr.obj" "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\isr.asm" 

"$(OUTDIR)\SPLC501Driver_IO.obj": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\SPLC501Driver_IO.asm" 
	$(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)\SPLC501Driver_IO.lst" -o "$(OUTDIR)\SPLC501Driver_IO.obj" "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\SPLC501Driver_IO.asm" 

"$(OUTDIR)\SPLC501User.asm": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\SPLC501User.c" 
	$(CC) $(CFLAGS) -o "$(OUTDIR)/SPLC501User.asm" "C:/Documents and Settings/liuxue/桌面/Example/example/IntExa/ex4_ Recognise_LCD/SPLC501User.c" 

"$(OUTDIR)\SPLC501User.obj": "$(OUTDIR)\SPLC501User.asm"
	$(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)\SPLC501User.lst" -o "$(OUTDIR)\SPLC501User.obj" "$(OUTDIR)\SPLC501User.asm" 

"$(OUTDIR)\face.asm": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\face.c" 
	$(CC) $(CFLAGS) -o "$(OUTDIR)/face.asm" "C:/Documents and Settings/liuxue/桌面/Example/example/IntExa/ex4_ Recognise_LCD/face.c" 

"$(OUTDIR)\face.obj": "$(OUTDIR)\face.asm"
	$(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)\face.lst" -o "$(OUTDIR)\face.obj" "$(OUTDIR)\face.asm" 

"$(OUTDIR)\main.asm": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\main.c" 
	$(CC) $(CFLAGS) -o "$(OUTDIR)/main.asm" "C:/Documents and Settings/liuxue/桌面/Example/example/IntExa/ex4_ Recognise_LCD/main.c" 

"$(OUTDIR)\main.obj": "$(OUTDIR)\main.asm"
	$(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)\main.lst" -o "$(OUTDIR)\main.obj" "$(OUTDIR)\main.asm" 

"$(OUTDIR)\Sound.asm": "C:\Documents and Settings\liuxue\桌面\Example\example\IntExa\ex4_ Recognise_LCD\Sound.c" 
	$(CC) $(CFLAGS) -o "$(OUTDIR)/Sound.asm" "C:/Documents and Settings/liuxue/桌面/Example/example/IntExa/ex4_ Recognise_LCD/Sound.c" 

"$(OUTDIR)\Sound.obj": "$(OUTDIR)\Sound.asm"
	$(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)\Sound.lst" -o "$(OUTDIR)\Sound.obj" "$(OUTDIR)\Sound.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)\hoo_16k.res" 
	$(RM) "$(OUTDIR)\OHOH_16k.res" 
	$(RM) "$(OUTDIR)\ZZZ_24K.res" 
	$(RM) "$(OUTDIR)\begin_16k.res" 
	$(RM) "$(OUTDIR)\C2_24K.res" 
	$(RM) "$(OUTDIR)\C3_24K.res" 
	$(RM) "$(OUTDIR)\C7_24K.res" 
	$(RM) "$(OUTDIR)\C9_24K.res" 
	$(RM) "$(OUTDIR)\5_16k.res" 
	$(RM) "$(OUTDIR)\1_16k.res" 
	$(RM) "$(OUTDIR)\2_16k.res" 
	$(RM) "$(OUTDIR)\3_16k.res" 
	$(RM) "$(OUTDIR)\4_16k.res" 
	$(RM) "$(OUTDIR)\Resource.obj" 
	$(RM) "$(OUTDIR)\Resource.lst" 
	$(RM) "$(OUTDIR)\DataOSforLCD.obj" 
	$(RM) "$(OUTDIR)\DataOSforLCD.lst" 
	$(RM) "$(OUTDIR)\hardware.obj" 
	$(RM) "$(OUTDIR)\hardware.lst" 
	$(RM) "$(OUTDIR)\isr.obj" 
	$(RM) "$(OUTDIR)\isr.lst" 
	$(RM) "$(OUTDIR)\SPLC501Driver_IO.obj" 
	$(RM) "$(OUTDIR)\SPLC501Driver_IO.lst" 
	$(RM) "$(OUTDIR)\SPLC501User.obj" 
	$(RM) "$(OUTDIR)\SPLC501User.lst" 
	$(RM) "$(OUTDIR)\SPLC501User.asm" 
	$(RM) "$(OUTDIR)\face.obj" 
	$(RM) "$(OUTDIR)\face.lst" 
	$(RM) "$(OUTDIR)\face.asm" 
	$(RM) "$(OUTDIR)\main.obj" 
	$(RM) "$(OUTDIR)\main.lst" 
	$(RM) "$(OUTDIR)\main.asm" 
	$(RM) "$(OUTDIR)\Sound.obj" 
	$(RM) "$(OUTDIR)\Sound.lst" 
	$(RM) "$(OUTDIR)\Sound.asm" 
	$(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 + -