Makefile
资源名称:length.rar [点击查看]
上传用户:sdjqgc
上传日期:2022-08-06
资源大小:2404k
文件大小:8k
源码类别:
嵌入式/单片机编程
开发平台:
Asm
- #####################################################################
- #
- # Created by u'nSP IDE 15:21:17 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_long"
- BODY = -body SPCE060A_061A -bfile "C:Program FilesSunplusunSP IDE CommonBodySPCE060A_061A.cpt"
- BINFILE = "$(OUTDIR)ultrasonic_long.S37"
- ARYFILE = "$(OUTDIR)ultrasonic_long.ary"
- SBMFILE = "$(OUTDIR)ultrasonic_long.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)main.obj"
- "$(OUTDIR)ultrasonic_App.obj"
- "$(OUTDIR)key.obj"
- "$(OUTDIR)hardware.obj"
- "$(OUTDIR)DataOS_A.obj"
- "$(OUTDIR)isr.obj"
- "$(OUTDIR)Speech.obj"
- "$(OUTDIR)IRQ.obj"
- "$(OUTDIR)PUSH_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoicePUSH.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoicePUSH.72k" "$(OUTDIR)PUSH_72k.res" RES_PUSH_72K
- "$(OUTDIR)1_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice1.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice1.72k" "$(OUTDIR)1_72k.res" RES_1_72K
- "$(OUTDIR)2_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice2.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice2.72k" "$(OUTDIR)2_72k.res" RES_2_72K
- "$(OUTDIR)3_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice3.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice3.72k" "$(OUTDIR)3_72k.res" RES_3_72K
- "$(OUTDIR)4_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice4.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice4.72k" "$(OUTDIR)4_72k.res" RES_4_72K
- "$(OUTDIR)5_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice5.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice5.72k" "$(OUTDIR)5_72k.res" RES_5_72K
- "$(OUTDIR)6_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice6.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice6.72k" "$(OUTDIR)6_72k.res" RES_6_72K
- "$(OUTDIR)7_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice7.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice7.72k" "$(OUTDIR)7_72k.res" RES_7_72K
- "$(OUTDIR)8_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice8.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice8.72k" "$(OUTDIR)8_72k.res" RES_8_72K
- "$(OUTDIR)9_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice9.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice9.72k" "$(OUTDIR)9_72k.res" RES_9_72K
- "$(OUTDIR)DOT_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoiceDOT.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoiceDOT.72k" "$(OUTDIR)DOT_72k.res" RES_DOT_72K
- "$(OUTDIR)M_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoiceM.72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoiceM.72k" "$(OUTDIR)M_72k.res" RES_M_72K
- "$(OUTDIR) _72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice .72k"
- $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice .72k" "$(OUTDIR) _72k.res" RES_0_72K
- "$(OUTDIR)Resource.obj": "F:sound design2006VersoncodeTestultrasonic_longResource.asm"
- $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)Resource.lst" -o "$(OUTDIR)Resource.obj" "F:sound design2006VersoncodeTestultrasonic_longResource.asm"
- "$(OUTDIR)main.asm": "F:sound design2006VersoncodeTestultrasonic_longmain.c" ".SPCE061A.h" ".ultrasonic_App.h"
- $(CC) $(CFLAGS) -o "$(OUTDIR)/main.asm" "F:/sound design/2006Verson/codeTest/ultrasonic_long/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_longultrasonic_App.c" ".SPCE061A.h"
- $(CC) $(CFLAGS) -o "$(OUTDIR)/ultrasonic_App.asm" "F:/sound design/2006Verson/codeTest/ultrasonic_long/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)key.obj": "F:sound design2006VersoncodeTestultrasonic_longkey.asm"
- $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)key.lst" -o "$(OUTDIR)key.obj" "F:sound design2006VersoncodeTestultrasonic_longkey.asm"
- "$(OUTDIR)hardware.obj": "F:sound design2006VersoncodeTestultrasonic_longhardware.asm"
- $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)hardware.lst" -o "$(OUTDIR)hardware.obj" "F:sound design2006VersoncodeTestultrasonic_longhardware.asm"
- "$(OUTDIR)DataOS_A.obj": "F:sound design2006VersoncodeTestultrasonic_longDataOS_A.asm"
- $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)DataOS_A.lst" -o "$(OUTDIR)DataOS_A.obj" "F:sound design2006VersoncodeTestultrasonic_longDataOS_A.asm"
- "$(OUTDIR)isr.obj": "F:sound design2006VersoncodeTestultrasonic_longisr.asm" ".SPCE061A.inc" ".S480.inc"
- $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)isr.lst" -o "$(OUTDIR)isr.obj" "F:sound design2006VersoncodeTestultrasonic_longisr.asm"
- "$(OUTDIR)Speech.asm": "F:sound design2006VersoncodeTestultrasonic_longSpeech.c" ".SPCE061A.h" ".s480.h"
- $(CC) $(CFLAGS) -o "$(OUTDIR)/Speech.asm" "F:/sound design/2006Verson/codeTest/ultrasonic_long/Speech.c"
- "$(OUTDIR)Speech.obj": "$(OUTDIR)Speech.asm"
- $(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)Speech.lst" -o "$(OUTDIR)Speech.obj" "$(OUTDIR)Speech.asm"
- "$(OUTDIR)IRQ.asm": "F:sound design2006VersoncodeTestultrasonic_longIRQ.c" ".SPCE061A.h" ".ultrasonic_App.h"
- $(CC) $(CFLAGS) -o "$(OUTDIR)/IRQ.asm" "F:/sound design/2006Verson/codeTest/ultrasonic_long/IRQ.c"
- "$(OUTDIR)IRQ.obj": "$(OUTDIR)IRQ.asm"
- $(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)IRQ.lst" -o "$(OUTDIR)IRQ.obj" "$(OUTDIR)IRQ.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)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)key.obj"
- $(RM) "$(OUTDIR)key.lst"
- $(RM) "$(OUTDIR)hardware.obj"
- $(RM) "$(OUTDIR)hardware.lst"
- $(RM) "$(OUTDIR)DataOS_A.obj"
- $(RM) "$(OUTDIR)DataOS_A.lst"
- $(RM) "$(OUTDIR)isr.obj"
- $(RM) "$(OUTDIR)isr.lst"
- $(RM) "$(OUTDIR)Speech.obj"
- $(RM) "$(OUTDIR)Speech.lst"
- $(RM) "$(OUTDIR)Speech.asm"
- $(RM) "$(OUTDIR)IRQ.obj"
- $(RM) "$(OUTDIR)IRQ.lst"
- $(RM) "$(OUTDIR)IRQ.asm"
- $(RM) $(BINFILE) $(SBMFILE)
- .c.asm:
- $(CC) $(CFLAGS) $(INCLUDES) -o "$(OUTDIR)/$@" $<
- .asm.obj:
- $(AS) $(ASFLAGS) $(INCLUDES) -o "$(OUTDIR)/$@" $<