Makefile.tmpl
上传用户:wstnjxml
上传日期:2014-04-03
资源大小:7248k
文件大小:7k
源码类别:

Windows CE

开发平台:

C/C++

  1. # Makefile template for use under OS/2
  2. #
  3. # libmikmod subdirectory
  4. DRIVER_OBJ=@DRIVER_OBJ@
  5. AR=@AR@
  6. ARFLAGS=@ARFLAGS@
  7. CC=@CC@
  8. CFLAGS=@CFLAGS@
  9. COMPILE=$(CC) $(CFLAGS) -I../include -I..
  10. IMPLIB=@IMPLIB@
  11. .SUFFIXES:
  12. .SUFFIXES: .o .c
  13. LIBS=@LIBS@
  14. LIBNAME=@LIBNAME@
  15. DLLNAME=@DLLNAME@
  16. DEFNAME=@DEFNAME@
  17. OBJ=$(DRIVER_OBJ) 
  18.     drv_nos.o drv_raw.o drv_stdout.o drv_wav.o 
  19.     load_669.o load_amf.o load_dsm.o load_far.o load_gdm.o load_it.o  
  20.     load_imf.o load_m15.o load_med.o load_mod.o load_mtm.o load_s3m.o 
  21.     load_stm.o load_stx.o load_ult.o load_uni.o load_xm.o 
  22.     mmalloc.o mmerror.o mmio.o 
  23.     mdriver.o mdreg.o mloader.o mlreg.o mlutil.o mplayer.o munitrk.o mwav.o 
  24.     npertab.o sloader.o virtch.o virtch2.o virtch_common.o
  25. all: @LIB@
  26. clean: FORCE
  27. FOR %F IN ( $(LIBNAME) $(DLLNAME) $(OBJ) ) DO IF EXIST %F ERASE %F
  28. distclean: clean
  29. FOR %F IN ( $(DEFNAME) ..includemikmod.h ..includemikmod_build.h Makefile ) DO IF EXIST %F ERASE %F
  30. $(DLLNAME): $(OBJ) $(DEFNAME)
  31. $(CC) $(CFLAGS) -Zso -Zsys -o $(DLLNAME) $(DEFNAME) $(OBJ) $(LIBS)
  32. $(IMPLIB) -o $(LIBNAME) $(DEFNAME)
  33. $(LIBNAME): $(OBJ)
  34. $(AR) $(ARFLAGS) $(LIBNAME) $(OBJ)
  35. drv_dart.o: ../drivers/drv_dart.c 
  36. ../include/mikmod_build.h ../include/mikmod_internals.h
  37. $(COMPILE) @ORULE@ ../drivers/drv_dart.c
  38. drv_nos.o: ../drivers/drv_nos.c 
  39. ../include/mikmod_build.h ../include/mikmod_internals.h
  40. $(COMPILE) @ORULE@ ../drivers/drv_nos.c
  41. drv_os2.o: ../drivers/drv_os2.c 
  42. ../include/mikmod_build.h ../include/mikmod_internals.h
  43. $(COMPILE) @ORULE@ ../drivers/drv_os2.c
  44. drv_raw.o: ../drivers/drv_raw.c 
  45. ../include/mikmod_build.h ../include/mikmod_internals.h
  46. $(COMPILE) @ORULE@ ../drivers/drv_raw.c
  47. drv_stdout.o: ../drivers/drv_stdout.c 
  48. ../include/mikmod_build.h ../include/mikmod_internals.h
  49. $(COMPILE) @ORULE@ ../drivers/drv_stdout.c
  50. drv_wav.o: ../drivers/drv_wav.c 
  51. ../include/mikmod_build.h ../include/mikmod_internals.h
  52. $(COMPILE) @ORULE@ ../drivers/drv_wav.c
  53. load_669.o: ../loaders/load_669.c 
  54. ../include/mikmod_build.h ../include/mikmod_internals.h
  55. $(COMPILE) @ORULE@ ../loaders/load_669.c
  56. load_amf.o: ../loaders/load_amf.c 
  57. ../include/mikmod_build.h ../include/mikmod_internals.h
  58. $(COMPILE) @ORULE@ ../loaders/load_amf.c
  59. load_dsm.o: ../loaders/load_dsm.c 
  60. ../include/mikmod_build.h ../include/mikmod_internals.h
  61. $(COMPILE) @ORULE@ ../loaders/load_dsm.c
  62. load_far.o: ../loaders/load_far.c 
  63. ../include/mikmod_build.h ../include/mikmod_internals.h
  64. $(COMPILE) @ORULE@ ../loaders/load_far.c
  65. load_gdm.o: ../loaders/load_gdm.c 
  66. ../include/mikmod_build.h ../include/mikmod_internals.h
  67. $(COMPILE) @ORULE@ ../loaders/load_gdm.c
  68. load_it.o: ../loaders/load_it.c 
  69. ../include/mikmod_build.h ../include/mikmod_internals.h
  70. $(COMPILE) @ORULE@ ../loaders/load_it.c
  71. load_imf.o: ../loaders/load_imf.c 
  72. ../include/mikmod_build.h ../include/mikmod_internals.h
  73. $(COMPILE) @ORULE@ ../loaders/load_imf.c
  74. load_m15.o: ../loaders/load_m15.c 
  75. ../include/mikmod_build.h ../include/mikmod_internals.h
  76. $(COMPILE) @ORULE@ ../loaders/load_m15.c
  77. load_med.o: ../loaders/load_med.c 
  78. ../include/mikmod_build.h ../include/mikmod_internals.h
  79. $(COMPILE) @ORULE@ ../loaders/load_med.c
  80. load_mod.o: ../loaders/load_mod.c 
  81. ../include/mikmod_build.h ../include/mikmod_internals.h
  82. $(COMPILE) @ORULE@ ../loaders/load_mod.c
  83. load_mtm.o: ../loaders/load_mtm.c 
  84. ../include/mikmod_build.h ../include/mikmod_internals.h
  85. $(COMPILE) @ORULE@ ../loaders/load_mtm.c
  86. load_s3m.o: ../loaders/load_s3m.c 
  87. ../include/mikmod_build.h ../include/mikmod_internals.h
  88. $(COMPILE) @ORULE@ ../loaders/load_s3m.c
  89. load_stm.o: ../loaders/load_stm.c 
  90. ../include/mikmod_build.h ../include/mikmod_internals.h
  91. $(COMPILE) @ORULE@ ../loaders/load_stm.c
  92. load_stx.o: ../loaders/load_stx.c 
  93. ../include/mikmod_build.h ../include/mikmod_internals.h
  94. $(COMPILE) @ORULE@ ../loaders/load_stx.c
  95. load_ult.o: ../loaders/load_ult.c 
  96. ../include/mikmod_build.h ../include/mikmod_internals.h
  97. $(COMPILE) @ORULE@ ../loaders/load_ult.c
  98. load_uni.o: ../loaders/load_uni.c 
  99. ../include/mikmod_build.h ../include/mikmod_internals.h
  100. $(COMPILE) @ORULE@ ../loaders/load_uni.c
  101. load_xm.o: ../loaders/load_xm.c 
  102. ../include/mikmod_build.h ../include/mikmod_internals.h
  103. $(COMPILE) @ORULE@ ../loaders/load_xm.c
  104. mmalloc.o: ../mmio/mmalloc.c 
  105. ../include/mikmod_build.h ../include/mikmod_internals.h
  106. $(COMPILE) @ORULE@ ../mmio/mmalloc.c
  107. mmerror.o: ../mmio/mmerror.c 
  108. ../include/mikmod_build.h ../include/mikmod_internals.h
  109. $(COMPILE) @ORULE@ ../mmio/mmerror.c
  110. mmio.o: ../mmio/mmio.c 
  111. ../include/mikmod_build.h ../include/mikmod_internals.h
  112. $(COMPILE) @ORULE@ ../mmio/mmio.c
  113. mdriver.o: ../playercode/mdriver.c 
  114. ../include/mikmod_build.h ../include/mikmod_internals.h
  115. $(COMPILE) @ORULE@ ../playercode/mdriver.c
  116. mdreg.o: ../playercode/mdreg.c 
  117. ../include/mikmod_build.h ../include/mikmod_internals.h
  118. $(COMPILE) @ORULE@ ../playercode/mdreg.c
  119. mloader.o: ../playercode/mloader.c 
  120. ../include/mikmod_build.h ../include/mikmod_internals.h
  121. $(COMPILE) @ORULE@ ../playercode/mloader.c
  122. mlreg.o: ../playercode/mlreg.c 
  123. ../include/mikmod_build.h ../include/mikmod_internals.h
  124. $(COMPILE) @ORULE@ ../playercode/mlreg.c
  125. mlutil.o: ../playercode/mlutil.c 
  126. ../include/mikmod_build.h ../include/mikmod_internals.h
  127. $(COMPILE) @ORULE@ ../playercode/mlutil.c
  128. mplayer.o: ../playercode/mplayer.c 
  129. ../include/mikmod_build.h ../include/mikmod_internals.h
  130. $(COMPILE) @ORULE@ ../playercode/mplayer.c
  131. munitrk.o: ../playercode/munitrk.c 
  132. ../include/mikmod_build.h ../include/mikmod_internals.h
  133. $(COMPILE) @ORULE@ ../playercode/munitrk.c
  134. mwav.o: ../playercode/mwav.c 
  135. ../include/mikmod_build.h ../include/mikmod_internals.h
  136. $(COMPILE) @ORULE@ ../playercode/mwav.c
  137. npertab.o: ../playercode/npertab.c 
  138. ../include/mikmod_build.h ../include/mikmod_internals.h
  139. $(COMPILE) @ORULE@ ../playercode/npertab.c
  140. sloader.o: ../playercode/sloader.c 
  141. ../include/mikmod_build.h ../include/mikmod_internals.h
  142. $(COMPILE) @ORULE@ ../playercode/sloader.c
  143. virtch.o: ../playercode/virtch.c ../playercode/virtch_common.c 
  144. ../include/mikmod_build.h ../include/mikmod_internals.h
  145. $(COMPILE) @ORULE@ ../playercode/virtch.c
  146. virtch2.o: ../playercode/virtch2.c ../playercode/virtch_common.c 
  147. ../include/mikmod_build.h ../include/mikmod_internals.h
  148. $(COMPILE) @ORULE@ ../playercode/virtch2.c
  149. virtch_common.o: ../playercode/virtch_common.c 
  150. ../include/mikmod_build.h ../include/mikmod_internals.h
  151. $(COMPILE) @ORULE@ ../playercode/virtch_common.c
  152. FORCE: