Makefile
上传用户:sdjqgc
上传日期:2022-08-06
资源大小:2404k
文件大小:8k
开发平台:

Asm

  1. #####################################################################
  2. #  
  3. # Created by u'nSP IDE 15:21:17 04/20/06
  4. #
  5. #####################################################################
  6. APPDIR = C:PROGRA~1SunplusUNSPID~1.0
  7. OUTDIR = .Debug
  8. CC = $(APPDIR)gcc
  9. AS = $(APPDIR)xasm16
  10. LD = $(APPDIR)xlink16
  11. AR = $(APPDIR)xLib16
  12. RESC = $(APPDIR)resc
  13. RM = $(APPDIR)rm -f
  14. INCLUDES = -I"F:/sound design/2006Verson/codeTest/ultrasonic_long"
  15. BODY = -body SPCE060A_061A -bfile "C:Program FilesSunplusunSP IDE CommonBodySPCE060A_061A.cpt"
  16. BINFILE = "$(OUTDIR)ultrasonic_long.S37"
  17. ARYFILE = "$(OUTDIR)ultrasonic_long.ary"
  18. SBMFILE = "$(OUTDIR)ultrasonic_long.sbm"
  19. OPT = -S -gstabs -Wall -mglobal-var-iram
  20. ASFLAGS = -t2 -d
  21. CASFLAGS = -t2 
  22. CFLAGS = $(OPT) -B$(APPDIR) $(INCLUDES) 
  23. BINTYPE = -as
  24. LDFLAGS = 
  25. EXTRAFLAGS = 
  26. OBJFILES = 
  27. "$(OUTDIR)PUSH_72k.res" 
  28. "$(OUTDIR)1_72k.res" 
  29. "$(OUTDIR)2_72k.res" 
  30. "$(OUTDIR)3_72k.res" 
  31. "$(OUTDIR)4_72k.res" 
  32. "$(OUTDIR)5_72k.res" 
  33. "$(OUTDIR)6_72k.res" 
  34. "$(OUTDIR)7_72k.res" 
  35. "$(OUTDIR)8_72k.res" 
  36. "$(OUTDIR)9_72k.res" 
  37. "$(OUTDIR)DOT_72k.res" 
  38. "$(OUTDIR)M_72k.res" 
  39. "$(OUTDIR)_72k.res" 
  40. "$(OUTDIR)Resource.obj" 
  41. "$(OUTDIR)main.obj" 
  42. "$(OUTDIR)ultrasonic_App.obj" 
  43. "$(OUTDIR)key.obj" 
  44. "$(OUTDIR)hardware.obj" 
  45. "$(OUTDIR)DataOS_A.obj" 
  46. "$(OUTDIR)isr.obj" 
  47. "$(OUTDIR)Speech.obj" 
  48. "$(OUTDIR)IRQ.obj" 
  49. "$(OUTDIR)PUSH_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoicePUSH.72k"
  50. $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoicePUSH.72k" "$(OUTDIR)PUSH_72k.res" RES_PUSH_72K 
  51. "$(OUTDIR)1_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice1.72k"
  52. $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice1.72k" "$(OUTDIR)1_72k.res" RES_1_72K 
  53. "$(OUTDIR)2_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice2.72k"
  54. $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice2.72k" "$(OUTDIR)2_72k.res" RES_2_72K 
  55. "$(OUTDIR)3_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice3.72k"
  56. $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice3.72k" "$(OUTDIR)3_72k.res" RES_3_72K 
  57. "$(OUTDIR)4_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice4.72k"
  58. $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice4.72k" "$(OUTDIR)4_72k.res" RES_4_72K 
  59. "$(OUTDIR)5_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice5.72k"
  60. $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice5.72k" "$(OUTDIR)5_72k.res" RES_5_72K 
  61. "$(OUTDIR)6_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice6.72k"
  62. $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice6.72k" "$(OUTDIR)6_72k.res" RES_6_72K 
  63. "$(OUTDIR)7_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice7.72k"
  64. $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice7.72k" "$(OUTDIR)7_72k.res" RES_7_72K 
  65. "$(OUTDIR)8_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice8.72k"
  66. $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice8.72k" "$(OUTDIR)8_72k.res" RES_8_72K 
  67. "$(OUTDIR)9_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice9.72k"
  68. $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice9.72k" "$(OUTDIR)9_72k.res" RES_9_72K 
  69. "$(OUTDIR)DOT_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoiceDOT.72k"
  70. $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoiceDOT.72k" "$(OUTDIR)DOT_72k.res" RES_DOT_72K 
  71. "$(OUTDIR)M_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoiceM.72k"
  72. $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoiceM.72k" "$(OUTDIR)M_72k.res" RES_M_72K 
  73. "$(OUTDIR)_72k.res": "F:sound design2006VersoncodeTestultrasonic_longvoice.72k"
  74. $(RESC) "F:sound design2006VersoncodeTestultrasonic_longvoice.72k" "$(OUTDIR)_72k.res" RES_0_72K 
  75. "$(OUTDIR)Resource.obj": "F:sound design2006VersoncodeTestultrasonic_longResource.asm" 
  76. $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)Resource.lst" -o "$(OUTDIR)Resource.obj" "F:sound design2006VersoncodeTestultrasonic_longResource.asm" 
  77. "$(OUTDIR)main.asm": "F:sound design2006VersoncodeTestultrasonic_longmain.c" ".SPCE061A.h" ".ultrasonic_App.h" 
  78. $(CC) $(CFLAGS) -o "$(OUTDIR)/main.asm" "F:/sound design/2006Verson/codeTest/ultrasonic_long/main.c" 
  79. "$(OUTDIR)main.obj": "$(OUTDIR)main.asm"
  80. $(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)main.lst" -o "$(OUTDIR)main.obj" "$(OUTDIR)main.asm" 
  81. "$(OUTDIR)ultrasonic_App.asm": "F:sound design2006VersoncodeTestultrasonic_longultrasonic_App.c" ".SPCE061A.h" 
  82. $(CC) $(CFLAGS) -o "$(OUTDIR)/ultrasonic_App.asm" "F:/sound design/2006Verson/codeTest/ultrasonic_long/ultrasonic_App.c" 
  83. "$(OUTDIR)ultrasonic_App.obj": "$(OUTDIR)ultrasonic_App.asm"
  84. $(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)ultrasonic_App.lst" -o "$(OUTDIR)ultrasonic_App.obj" "$(OUTDIR)ultrasonic_App.asm" 
  85. "$(OUTDIR)key.obj": "F:sound design2006VersoncodeTestultrasonic_longkey.asm" 
  86. $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)key.lst" -o "$(OUTDIR)key.obj" "F:sound design2006VersoncodeTestultrasonic_longkey.asm" 
  87. "$(OUTDIR)hardware.obj": "F:sound design2006VersoncodeTestultrasonic_longhardware.asm" 
  88. $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)hardware.lst" -o "$(OUTDIR)hardware.obj" "F:sound design2006VersoncodeTestultrasonic_longhardware.asm" 
  89. "$(OUTDIR)DataOS_A.obj": "F:sound design2006VersoncodeTestultrasonic_longDataOS_A.asm" 
  90. $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)DataOS_A.lst" -o "$(OUTDIR)DataOS_A.obj" "F:sound design2006VersoncodeTestultrasonic_longDataOS_A.asm" 
  91. "$(OUTDIR)isr.obj": "F:sound design2006VersoncodeTestultrasonic_longisr.asm" ".SPCE061A.inc" ".S480.inc" 
  92. $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)isr.lst" -o "$(OUTDIR)isr.obj" "F:sound design2006VersoncodeTestultrasonic_longisr.asm" 
  93. "$(OUTDIR)Speech.asm": "F:sound design2006VersoncodeTestultrasonic_longSpeech.c" ".SPCE061A.h" ".s480.h" 
  94. $(CC) $(CFLAGS) -o "$(OUTDIR)/Speech.asm" "F:/sound design/2006Verson/codeTest/ultrasonic_long/Speech.c" 
  95. "$(OUTDIR)Speech.obj": "$(OUTDIR)Speech.asm"
  96. $(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)Speech.lst" -o "$(OUTDIR)Speech.obj" "$(OUTDIR)Speech.asm" 
  97. "$(OUTDIR)IRQ.asm": "F:sound design2006VersoncodeTestultrasonic_longIRQ.c" ".SPCE061A.h" ".ultrasonic_App.h" 
  98. $(CC) $(CFLAGS) -o "$(OUTDIR)/IRQ.asm" "F:/sound design/2006Verson/codeTest/ultrasonic_long/IRQ.c" 
  99. "$(OUTDIR)IRQ.obj": "$(OUTDIR)IRQ.asm"
  100. $(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)IRQ.lst" -o "$(OUTDIR)IRQ.obj" "$(OUTDIR)IRQ.asm" 
  101. .SUFFIXES : .c .asm .obj .s37 .tsk .res
  102. all :  "$(OUTDIR)" $(BINFILE)
  103. "$(OUTDIR)" :
  104. if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  105. $(BINFILE) : $(OBJFILES) 
  106. $(LD) $(BINTYPE) $(ARYFILE) $(BINFILE) $(LDFLAGS) $(BODY) $(EXTRAFLAGS)
  107. compile :  $(OBJFILES)
  108. clean :
  109. $(RM) "$(OUTDIR)PUSH_72k.res" 
  110. $(RM) "$(OUTDIR)1_72k.res" 
  111. $(RM) "$(OUTDIR)2_72k.res" 
  112. $(RM) "$(OUTDIR)3_72k.res" 
  113. $(RM) "$(OUTDIR)4_72k.res" 
  114. $(RM) "$(OUTDIR)5_72k.res" 
  115. $(RM) "$(OUTDIR)6_72k.res" 
  116. $(RM) "$(OUTDIR)7_72k.res" 
  117. $(RM) "$(OUTDIR)8_72k.res" 
  118. $(RM) "$(OUTDIR)9_72k.res" 
  119. $(RM) "$(OUTDIR)DOT_72k.res" 
  120. $(RM) "$(OUTDIR)M_72k.res" 
  121. $(RM) "$(OUTDIR)_72k.res" 
  122. $(RM) "$(OUTDIR)Resource.obj" 
  123. $(RM) "$(OUTDIR)Resource.lst" 
  124. $(RM) "$(OUTDIR)main.obj" 
  125. $(RM) "$(OUTDIR)main.lst" 
  126. $(RM) "$(OUTDIR)main.asm" 
  127. $(RM) "$(OUTDIR)ultrasonic_App.obj" 
  128. $(RM) "$(OUTDIR)ultrasonic_App.lst" 
  129. $(RM) "$(OUTDIR)ultrasonic_App.asm" 
  130. $(RM) "$(OUTDIR)key.obj" 
  131. $(RM) "$(OUTDIR)key.lst" 
  132. $(RM) "$(OUTDIR)hardware.obj" 
  133. $(RM) "$(OUTDIR)hardware.lst" 
  134. $(RM) "$(OUTDIR)DataOS_A.obj" 
  135. $(RM) "$(OUTDIR)DataOS_A.lst" 
  136. $(RM) "$(OUTDIR)isr.obj" 
  137. $(RM) "$(OUTDIR)isr.lst" 
  138. $(RM) "$(OUTDIR)Speech.obj" 
  139. $(RM) "$(OUTDIR)Speech.lst" 
  140. $(RM) "$(OUTDIR)Speech.asm" 
  141. $(RM) "$(OUTDIR)IRQ.obj" 
  142. $(RM) "$(OUTDIR)IRQ.lst" 
  143. $(RM) "$(OUTDIR)IRQ.asm" 
  144. $(RM) $(BINFILE) $(SBMFILE) 
  145. .c.asm:
  146. $(CC) $(CFLAGS) $(INCLUDES) -o "$(OUTDIR)/$@" $<
  147. .asm.obj:
  148. $(AS) $(ASFLAGS) $(INCLUDES) -o "$(OUTDIR)/$@" $<