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

Asm

  1. #####################################################################
  2. #  
  3. # Created by u'nSP IDE 15:26:25 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_low"
  15. BODY = -body SPCE060A_061A -bfile "C:Program FilesSunplusunSP IDE CommonBodySPCE060A_061A.cpt"
  16. BINFILE = "$(OUTDIR)ultrasonic_low.S37"
  17. ARYFILE = "$(OUTDIR)ultrasonic_low.ary"
  18. SBMFILE = "$(OUTDIR)ultrasonic_low.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)key.obj" 
  42. "$(OUTDIR)main.obj" 
  43. "$(OUTDIR)ultrasonic_App.obj" 
  44. "$(OUTDIR)Speech.obj" 
  45. "$(OUTDIR)hardware.obj" 
  46. "$(OUTDIR)IRQ.obj" 
  47. "$(OUTDIR)DataOS_A.obj" 
  48. "$(OUTDIR)isr.obj" 
  49. "$(OUTDIR)PUSH_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoicePUSH.72k"
  50. $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoicePUSH.72k" "$(OUTDIR)PUSH_72k.res" RES_PUSH_72K 
  51. "$(OUTDIR)1_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice1.72k"
  52. $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice1.72k" "$(OUTDIR)1_72k.res" RES_1_72K 
  53. "$(OUTDIR)2_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice2.72k"
  54. $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice2.72k" "$(OUTDIR)2_72k.res" RES_2_72K 
  55. "$(OUTDIR)3_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice3.72k"
  56. $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice3.72k" "$(OUTDIR)3_72k.res" RES_3_72K 
  57. "$(OUTDIR)4_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice4.72k"
  58. $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice4.72k" "$(OUTDIR)4_72k.res" RES_4_72K 
  59. "$(OUTDIR)5_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice5.72k"
  60. $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice5.72k" "$(OUTDIR)5_72k.res" RES_5_72K 
  61. "$(OUTDIR)6_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice6.72k"
  62. $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice6.72k" "$(OUTDIR)6_72k.res" RES_6_72K 
  63. "$(OUTDIR)7_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice7.72k"
  64. $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice7.72k" "$(OUTDIR)7_72k.res" RES_7_72K 
  65. "$(OUTDIR)8_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice8.72k"
  66. $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice8.72k" "$(OUTDIR)8_72k.res" RES_8_72K 
  67. "$(OUTDIR)9_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice9.72k"
  68. $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice9.72k" "$(OUTDIR)9_72k.res" RES_9_72K 
  69. "$(OUTDIR)DOT_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoiceDOT.72k"
  70. $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoiceDOT.72k" "$(OUTDIR)DOT_72k.res" RES_DOT_72K 
  71. "$(OUTDIR)M_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoiceM.72k"
  72. $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoiceM.72k" "$(OUTDIR)M_72k.res" RES_M_72K 
  73. "$(OUTDIR)_72k.res": "F:sound design2006VersoncodeTestultrasonic_lowvoice.72k"
  74. $(RESC) "F:sound design2006VersoncodeTestultrasonic_lowvoice.72k" "$(OUTDIR)_72k.res" RES_0_72K 
  75. "$(OUTDIR)Resource.obj": "F:sound design2006VersoncodeTestultrasonic_lowResource.asm" 
  76. $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)Resource.lst" -o "$(OUTDIR)Resource.obj" "F:sound design2006VersoncodeTestultrasonic_lowResource.asm" 
  77. "$(OUTDIR)key.obj": "F:sound design2006VersoncodeTestultrasonic_lowkey.asm" 
  78. $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)key.lst" -o "$(OUTDIR)key.obj" "F:sound design2006VersoncodeTestultrasonic_lowkey.asm" 
  79. "$(OUTDIR)main.asm": "F:sound design2006VersoncodeTestultrasonic_lowmain.c" ".SPCE061A.h" ".ultrasonic_App.h" 
  80. $(CC) $(CFLAGS) -o "$(OUTDIR)/main.asm" "F:/sound design/2006Verson/codeTest/ultrasonic_low/main.c" 
  81. "$(OUTDIR)main.obj": "$(OUTDIR)main.asm"
  82. $(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)main.lst" -o "$(OUTDIR)main.obj" "$(OUTDIR)main.asm" 
  83. "$(OUTDIR)ultrasonic_App.asm": "F:sound design2006VersoncodeTestultrasonic_lowultrasonic_App.c" ".SPCE061A.h" 
  84. $(CC) $(CFLAGS) -o "$(OUTDIR)/ultrasonic_App.asm" "F:/sound design/2006Verson/codeTest/ultrasonic_low/ultrasonic_App.c" 
  85. "$(OUTDIR)ultrasonic_App.obj": "$(OUTDIR)ultrasonic_App.asm"
  86. $(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)ultrasonic_App.lst" -o "$(OUTDIR)ultrasonic_App.obj" "$(OUTDIR)ultrasonic_App.asm" 
  87. "$(OUTDIR)Speech.asm": "F:sound design2006VersoncodeTestultrasonic_lowSpeech.c" ".SPCE061A.h" ".s480.h" 
  88. $(CC) $(CFLAGS) -o "$(OUTDIR)/Speech.asm" "F:/sound design/2006Verson/codeTest/ultrasonic_low/Speech.c" 
  89. "$(OUTDIR)Speech.obj": "$(OUTDIR)Speech.asm"
  90. $(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)Speech.lst" -o "$(OUTDIR)Speech.obj" "$(OUTDIR)Speech.asm" 
  91. "$(OUTDIR)hardware.obj": "F:sound design2006VersoncodeTestultrasonic_lowhardware.asm" 
  92. $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)hardware.lst" -o "$(OUTDIR)hardware.obj" "F:sound design2006VersoncodeTestultrasonic_lowhardware.asm" 
  93. "$(OUTDIR)IRQ.asm": "F:sound design2006VersoncodeTestultrasonic_lowIRQ.c" ".SPCE061A.h" ".ultrasonic_App.h" 
  94. $(CC) $(CFLAGS) -o "$(OUTDIR)/IRQ.asm" "F:/sound design/2006Verson/codeTest/ultrasonic_low/IRQ.c" 
  95. "$(OUTDIR)IRQ.obj": "$(OUTDIR)IRQ.asm"
  96. $(AS) $(CASFLAGS) $(INCLUDES) -l "$(OUTDIR)IRQ.lst" -o "$(OUTDIR)IRQ.obj" "$(OUTDIR)IRQ.asm" 
  97. "$(OUTDIR)DataOS_A.obj": "F:sound design2006VersoncodeTestultrasonic_lowDataOS_A.asm" 
  98. $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)DataOS_A.lst" -o "$(OUTDIR)DataOS_A.obj" "F:sound design2006VersoncodeTestultrasonic_lowDataOS_A.asm" 
  99. "$(OUTDIR)isr.obj": "F:sound design2006VersoncodeTestultrasonic_lowisr.asm" ".SPCE061A.inc" ".S480.inc" 
  100. $(AS) $(ASFLAGS) $(INCLUDES) -l "$(OUTDIR)isr.lst" -o "$(OUTDIR)isr.obj" "F:sound design2006VersoncodeTestultrasonic_lowisr.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)key.obj" 
  125. $(RM) "$(OUTDIR)key.lst" 
  126. $(RM) "$(OUTDIR)main.obj" 
  127. $(RM) "$(OUTDIR)main.lst" 
  128. $(RM) "$(OUTDIR)main.asm" 
  129. $(RM) "$(OUTDIR)ultrasonic_App.obj" 
  130. $(RM) "$(OUTDIR)ultrasonic_App.lst" 
  131. $(RM) "$(OUTDIR)ultrasonic_App.asm" 
  132. $(RM) "$(OUTDIR)Speech.obj" 
  133. $(RM) "$(OUTDIR)Speech.lst" 
  134. $(RM) "$(OUTDIR)Speech.asm" 
  135. $(RM) "$(OUTDIR)hardware.obj" 
  136. $(RM) "$(OUTDIR)hardware.lst" 
  137. $(RM) "$(OUTDIR)IRQ.obj" 
  138. $(RM) "$(OUTDIR)IRQ.lst" 
  139. $(RM) "$(OUTDIR)IRQ.asm" 
  140. $(RM) "$(OUTDIR)DataOS_A.obj" 
  141. $(RM) "$(OUTDIR)DataOS_A.lst" 
  142. $(RM) "$(OUTDIR)isr.obj" 
  143. $(RM) "$(OUTDIR)isr.lst" 
  144. $(RM) $(BINFILE) $(SBMFILE) 
  145. .c.asm:
  146. $(CC) $(CFLAGS) $(INCLUDES) -o "$(OUTDIR)/$@" $<
  147. .asm.obj:
  148. $(AS) $(ASFLAGS) $(INCLUDES) -o "$(OUTDIR)/$@" $<