Makefile
资源名称:length.rar [点击查看]
上传用户:sdjqgc
上传日期:2022-08-06
资源大小:2404k
文件大小:8k
源码类别:
嵌入式/单片机编程
开发平台:
Asm
- #####################################################################
- #
- # Created by u'nSP IDE 15:26:25 04/20/06
- #
- #####################################################################
- APPDIR = C:PROGRA~1SunplusUNSPID~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"F:/sound design/2006Verson/codeTest/ultrasonic_low"
- BODY = -body SPCE060A_061A -bfile "C:Program FilesSunplusunSP IDE CommonBodySPCE060A_061A.cpt"
- BINFILE = "$(OUTDIR)ultrasonic_low.S37"
- ARYFILE = "$(OUTDIR)ultrasonic_low.ary"
- SBMFILE = "$(OUTDIR)ultrasonic_low.sbm"
- OPT = -S -gstabs -Wall -mglobal-var-iram
- ASFLAGS = -t2 -d
- CASFLAGS = -t2
- CFLAGS = $(OPT) -B$(APPDIR) $(INCLUDES)
- BINTYPE = -as
- LDFLAGS =
- EXTRAFLAGS =
- OBJFILES =
- "$(OUTDIR)PUSH_72k.res"
- "$(OUTDIR)1_72k.res"
- "$(OUTDIR)2_72k.res"
- "$(OUTDIR)3_72k.res"
- "$(OUTDIR)4_72k.res"
- "$(OUTDIR)5_72k.res"
- "$(OUTDIR)6_72k.res"
- "$(OUTDIR)7_72k.res"
- "$(OUTDIR)8_72k.res"
- "$(OUTDIR)9_72k.res"
- "$(OUTDIR)DOT_72k.res"
- "$(OUTDIR)M_72k.res"
- "$(OUTDIR) _72k.res"
- "$(OUTDIR)Resource.obj"
- "$(OUTDIR)key.obj"
- "$(OUTDIR)main.obj"
- "$(OUTDIR)ultrasonic_App.obj"
- "$(OUTDIR)Speech.obj"
- "$(OUTDIR)hardware.obj"
- "$(OUTDIR)IRQ.obj"
- "$(OUTDIR)DataOS_A.obj"
- "$(OUTDIR)isr.obj"
- "$(OUTDIR)PUSH_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoicePUSH.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoicePUSH.72k" "$(OUTDIR)PUSH_72k.res" RES_PUSH_72K
- "$(OUTDIR)1_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice1.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice1.72k" "$(OUTDIR)1_72k.res" RES_1_72K
- "$(OUTDIR)2_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice2.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice2.72k" "$(OUTDIR)2_72k.res" RES_2_72K
- "$(OUTDIR)3_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice3.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice3.72k" "$(OUTDIR)3_72k.res" RES_3_72K
- "$(OUTDIR)4_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice4.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice4.72k" "$(OUTDIR)4_72k.res" RES_4_72K
- "$(OUTDIR)5_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice5.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice5.72k" "$(OUTDIR)5_72k.res" RES_5_72K
- "$(OUTDIR)6_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice6.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice6.72k" "$(OUTDIR)6_72k.res" RES_6_72K
- "$(OUTDIR)7_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice7.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice7.72k" "$(OUTDIR)7_72k.res" RES_7_72K
- "$(OUTDIR)8_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice8.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice8.72k" "$(OUTDIR)8_72k.res" RES_8_72K
- "$(OUTDIR)9_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice9.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice9.72k" "$(OUTDIR)9_72k.res" RES_9_72K
- "$(OUTDIR)DOT_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoiceDOT.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoiceDOT.72k" "$(OUTDIR)DOT_72k.res" RES_DOT_72K
- "$(OUTDIR)M_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoiceM.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoiceM.72k" "$(OUTDIR)M_72k.res" RES_M_72K
- "$(OUTDIR) _72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice .72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice .72k" "$(OUTDIR) _72k.res" RES_0_72K
- "$(OUTDIR)Resource.obj": "F:sound design2006VersoncodeTestultrasonic_lowResource.asm"
- $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)Resource.lst" -o "$(OUTDIR)Resource.obj" "F:sound design2006VersoncodeTestultrasonic_lowResource.asm"
- "$(OUTDIR)key.obj": "F:sound design2006VersoncodeTestultrasonic_lowkey.asm"
- $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)key.lst" -o "$(OUTDIR)key.obj" "F:sound design2006VersoncodeTestultrasonic_lowkey.asm"
- "$(OUTDIR)main.asm": "F:sound design2006VersoncodeTestultrasonic_lowmain.c" ".SPCE061A.h" ".ultrasonic_App.h"
- $(CC) $(CFLAGS) -o "$(OUTDIR)/main.asm" "F:/sound design/2006Verson/codeTest/ultrasonic_low/main.c"
- "$(OUTDIR)main.obj": "$(OUTDIR)main.asm"
- $(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)main.lst" -o "$(OUTDIR)main.obj" "$(OUTDIR)main.asm"
- "$(OUTDIR)ultrasonic_App.asm": "F:sound design2006VersoncodeTestultrasonic_lowultrasonic_App.c" ".SPCE061A.h"
- $(CC) $(CFLAGS) -o "$(OUTDIR)/ultrasonic_App.asm" "F:/sound design/2006Verson/codeTest/ultrasonic_low/ultrasonic_App.c"
- "$(OUTDIR)ultrasonic_App.obj": "$(OUTDIR)ultrasonic_App.asm"
- $(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)ultrasonic_App.lst" -o "$(OUTDIR)ultrasonic_App.obj" "$(OUTDIR)ultrasonic_App.asm"
- "$(OUTDIR)Speech.asm": "F:sound design2006VersoncodeTestultrasonic_lowSpeech.c" ".SPCE061A.h" ".s480.h"
- $(CC) $(CFLAGS) -o "$(OUTDIR)/Speech.asm" "F:/sound design/2006Verson/codeTest/ultrasonic_low/Speech.c"
- "$(OUTDIR)Speech.obj": "$(OUTDIR)Speech.asm"
- $(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)Speech.lst" -o "$(OUTDIR)Speech.obj" "$(OUTDIR)Speech.asm"
- "$(OUTDIR)hardware.obj": "F:sound design2006VersoncodeTestultrasonic_lowhardware.asm"
- $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)hardware.lst" -o "$(OUTDIR)hardware.obj" "F:sound design2006VersoncodeTestultrasonic_lowhardware.asm"
- "$(OUTDIR)IRQ.asm": "F:sound design2006VersoncodeTestultrasonic_lowIRQ.c" ".SPCE061A.h" ".ultrasonic_App.h"
- $(CC) $(CFLAGS) -o "$(OUTDIR)/IRQ.asm" "F:/sound design/2006Verson/codeTest/ultrasonic_low/IRQ.c"
- "$(OUTDIR)IRQ.obj": "$(OUTDIR)IRQ.asm"
- $(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)IRQ.lst" -o "$(OUTDIR)IRQ.obj" "$(OUTDIR)IRQ.asm"
- "$(OUTDIR)DataOS_A.obj": "F:sound design2006VersoncodeTestultrasonic_lowDataOS_A.asm"
- $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)DataOS_A.lst" -o "$(OUTDIR)DataOS_A.obj" "F:sound design2006VersoncodeTestultrasonic_lowDataOS_A.asm"
- "$(OUTDIR)isr.obj": "F:sound design2006VersoncodeTestultrasonic_lowisr.asm" ".SPCE061A.inc" ".S480.inc"
- $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)isr.lst" -o "$(OUTDIR)isr.obj" "F:sound design2006VersoncodeTestultrasonic_lowisr.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)PUSH_72k.res"
- $(RM) "$(OUTDIR)1_72k.res"
- $(RM) "$(OUTDIR)2_72k.res"
- $(RM) "$(OUTDIR)3_72k.res"
- $(RM) "$(OUTDIR)4_72k.res"
- $(RM) "$(OUTDIR)5_72k.res"
- $(RM) "$(OUTDIR)6_72k.res"
- $(RM) "$(OUTDIR)7_72k.res"
- $(RM) "$(OUTDIR)8_72k.res"
- $(RM) "$(OUTDIR)9_72k.res"
- $(RM) "$(OUTDIR)DOT_72k.res"
- $(RM) "$(OUTDIR)M_72k.res"
- $(RM) "$(OUTDIR) _72k.res"
- $(RM) "$(OUTDIR)Resource.obj"
- $(RM) "$(OUTDIR)Resource.lst"
- $(RM) "$(OUTDIR)key.obj"
- $(RM) "$(OUTDIR)key.lst"
- $(RM) "$(OUTDIR)main.obj"
- $(RM) "$(OUTDIR)main.lst"
- $(RM) "$(OUTDIR)main.asm"
- $(RM) "$(OUTDIR)ultrasonic_App.obj"
- $(RM) "$(OUTDIR)ultrasonic_App.lst"
- $(RM) "$(OUTDIR)ultrasonic_App.asm"
- $(RM) "$(OUTDIR)Speech.obj"
- $(RM) "$(OUTDIR)Speech.lst"
- $(RM) "$(OUTDIR)Speech.asm"
- $(RM) "$(OUTDIR)hardware.obj"
- $(RM) "$(OUTDIR)hardware.lst"
- $(RM) "$(OUTDIR)IRQ.obj"
- $(RM) "$(OUTDIR)IRQ.lst"
- $(RM) "$(OUTDIR)IRQ.asm"
- $(RM) "$(OUTDIR)DataOS_A.obj"
- $(RM) "$(OUTDIR)DataOS_A.lst"
- $(RM) "$(OUTDIR)isr.obj"
- $(RM) "$(OUTDIR)isr.lst"
- $(RM) $(BINFILE) $(SBMFILE)
- .c.asm:
- $(CC) $(CFLAGS) $(INCLUDES) -o "$(OUTDIR)/$@" $<
- .asm.obj:
- $(AS) $(ASFLAGS) $(INCLUDES) -o "$(OUTDIR)/$@" $<