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

Windows CE

开发平台:

C/C++

  1. # Makefile template for use under win32
  2. # for the compiler system lcc-win32.
  3. #
  4. # Your compiler utilities here
  5. CC=lcc.exe
  6. LIB=lcclib.exe
  7. LINK=lcclnk.exe
  8. # If you want to build a dynamic library, uncomment the following two lines
  9. # and comment the next two.
  10. #LIBS=$(DLLNAME)
  11. #CFLAGS= -A -ansic /DWIN32 /DDRV_DS /DDRV_WIN /DHAVE_FCNTL_H /DHAVE_MALLOC_H /DHAVE_LIMITS_H /DDLL_EXPORTS
  12. LIBS=$(LIBNAME)
  13. CFLAGS= -A -ansic /DWIN32 /DDRV_DS /DDRV_WIN /DHAVE_FCNTL_H /DHAVE_MALLOC_H /DHAVE_LIMITS_H
  14. # Compile command
  15. COMPILE=$(CC) -errout=err.out $(CFLAGS) /I..include /I.. /I..win32
  16. .SUFFIXES:
  17. .SUFFIXES: .o .c
  18. LIBNAME=mikmod.lib
  19. DLLNAME=mikmod.dll
  20. DRIVER_OBJ=drv_ds.o drv_win.o
  21. OBJ=$(DRIVER_OBJ) 
  22.     drv_nos.o drv_raw.o drv_stdout.o drv_wav.o 
  23.     load_669.o load_amf.o load_asy.o load_dsm.o 
  24.     load_far.o load_gdm.o load_it.o  
  25.     load_imf.o load_m15.o load_med.o load_mod.o load_mtm.o load_okt.o 
  26.     load_s3m.o load_stm.o load_stx.o load_ult.o load_uni.o load_xm.o 
  27.     mmalloc.o mmerror.o mmio.o 
  28.     mdriver.o mdreg.o mloader.o mlreg.o mlutil.o mplayer.o munitrk.o mwav.o 
  29.     npertab.o sloader.o virtch.o virtch2.o virtch_common.o
  30. all:            $(LIBS)
  31. clean:
  32. FOR %F IN ( $(LIBNAME) $(DLLNAME) mikmod.exp *.o ) DO IF EXIST %F ERASE %F
  33. distclean:
  34. FOR %F IN ( ..includemikmod.h ..win32mikmod_build.h Makefile ) DO IF EXIST %F ERASE %F
  35. $(DLLNAME):     $(OBJ) mikmod.def
  36. $(LINK) /DLL /OUT:$@ mikmod.def *.o dsound.lib winmm.lib
  37. $(LIBNAME):     $(OBJ)
  38. $(LIB) /OUT:$(LIBNAME) *.o
  39. ..includemikmod.h ..win32mikmod_build.h: mikmod_build.h
  40. COPY mikmod_build.h ..win32mikmod_build.h
  41. COPY mikmod_build.h ..includemikmod.h
  42. drv_ds.o:       ..driversdrv_ds.c 
  43.                 ..win32mikmod_build.h ..includemikmod_internals.h
  44. $(COMPILE) /Fo$@ ..driversdrv_ds.c
  45. drv_aiff.o:       ..driversdrv_aiff.c 
  46.                 ..win32mikmod_build.h ..includemikmod_internals.h
  47. $(COMPILE) /Fo$@ ..driversdrv_aiff.c
  48. drv_nos.o:      ..driversdrv_nos.c 
  49.                 ..win32mikmod_build.h ..includemikmod_internals.h
  50. $(COMPILE) /Fo$@ ..driversdrv_nos.c
  51. drv_raw.o:      ..driversdrv_raw.c 
  52.                 ..win32mikmod_build.h ..includemikmod_internals.h
  53. $(COMPILE) /Fo$@ ..driversdrv_raw.c
  54. drv_stdout.o:   ..driversdrv_stdout.c 
  55.                 ..win32mikmod_build.h ..includemikmod_internals.h
  56. $(COMPILE) /Fo$@ ..driversdrv_stdout.c
  57. drv_wav.o:      ..driversdrv_wav.c 
  58.                 ..win32mikmod_build.h ..includemikmod_internals.h
  59. $(COMPILE) /Fo$@ ..driversdrv_wav.c
  60. drv_win.o:       ..driversdrv_win.c 
  61.                 ..win32mikmod_build.h ..includemikmod_internals.h
  62. $(COMPILE) /Fo$@ ..driversdrv_win.c
  63. load_669.o:     ..loadersload_669.c 
  64.                 ..win32mikmod_build.h ..includemikmod_internals.h
  65. $(COMPILE) /Fo$@ ..loadersload_669.c
  66. load_amf.o:     ..loadersload_amf.c 
  67.                 ..win32mikmod_build.h ..includemikmod_internals.h
  68. $(COMPILE) /Fo$@ ..loadersload_amf.c
  69. load_asy.o:     ..loadersload_asy.c 
  70. ..win32mikmod_build.h ..includemikmod_internals.h
  71. $(COMPILE) /Fo$@ ..loadersload_asy.c
  72. load_dsm.o:     ..loadersload_dsm.c 
  73.                 ..win32mikmod_build.h ..includemikmod_internals.h
  74. $(COMPILE) /Fo$@ ..loadersload_dsm.c
  75. load_far.o:     ..loadersload_far.c 
  76.                 ..win32mikmod_build.h ..includemikmod_internals.h
  77. $(COMPILE) /Fo$@ ..loadersload_far.c
  78. load_gdm.o:     ..loadersload_gdm.c 
  79.                 ..win32mikmod_build.h ..includemikmod_internals.h
  80. $(COMPILE) /Fo$@ ..loadersload_gdm.c
  81. load_it.o:      ..loadersload_it.c 
  82.                 ..win32mikmod_build.h ..includemikmod_internals.h
  83. $(COMPILE) /Fo$@ ..loadersload_it.c
  84. load_imf.o:     ..loadersload_imf.c 
  85.                 ..win32mikmod_build.h ..includemikmod_internals.h
  86. $(COMPILE) /Fo$@ ..loadersload_imf.c
  87. load_m15.o:     ..loadersload_m15.c 
  88.                 ..win32mikmod_build.h ..includemikmod_internals.h
  89. $(COMPILE) /Fo$@ ..loadersload_m15.c
  90. load_med.o:     ..loadersload_med.c 
  91.                 ..win32mikmod_build.h ..includemikmod_internals.h
  92. $(COMPILE) /Fo$@ ..loadersload_med.c
  93. load_mod.o:     ..loadersload_mod.c 
  94.                 ..win32mikmod_build.h ..includemikmod_internals.h
  95. $(COMPILE) /Fo$@ ..loadersload_mod.c
  96. load_mtm.o:     ..loadersload_mtm.c 
  97.                 ..win32mikmod_build.h ..includemikmod_internals.h
  98. $(COMPILE) /Fo$@ ..loadersload_mtm.c
  99. load_okt.o:     ..loadersload_okt.c 
  100.                 ..win32mikmod_build.h ..includemikmod_internals.h
  101. $(COMPILE) /Fo$@ ..loadersload_okt.c
  102. load_s3m.o:     ..loadersload_s3m.c 
  103.                 ..win32mikmod_build.h ..includemikmod_internals.h
  104. $(COMPILE) /Fo$@ ..loadersload_s3m.c
  105. load_stm.o:     ..loadersload_stm.c 
  106.                 ..win32mikmod_build.h ..includemikmod_internals.h
  107. $(COMPILE) /Fo$@ ..loadersload_stm.c
  108. load_stx.o:     ..loadersload_stx.c 
  109.                 ..win32mikmod_build.h ..includemikmod_internals.h
  110. $(COMPILE) /Fo$@ ..loadersload_stx.c
  111. load_ult.o:     ..loadersload_ult.c 
  112.                 ..win32mikmod_build.h ..includemikmod_internals.h
  113. $(COMPILE) /Fo$@ ..loadersload_ult.c
  114. load_uni.o:     ..loadersload_uni.c 
  115.                 ..win32mikmod_build.h ..includemikmod_internals.h
  116. $(COMPILE) /Fo$@ ..loadersload_uni.c
  117. load_xm.o:      ..loadersload_xm.c 
  118.                 ..win32mikmod_build.h ..includemikmod_internals.h
  119. $(COMPILE) /Fo$@ ..loadersload_xm.c
  120. mmalloc.o:      ..mmiommalloc.c 
  121.                 ..win32mikmod_build.h ..includemikmod_internals.h
  122. $(COMPILE) /Fo$@ ..mmiommalloc.c
  123. mmerror.o:      ..mmiommerror.c 
  124.                 ..win32mikmod_build.h ..includemikmod_internals.h
  125. $(COMPILE) /Fo$@ ..mmiommerror.c
  126. mmio.o:         ..mmiommio.c 
  127.                 ..win32mikmod_build.h ..includemikmod_internals.h
  128. $(COMPILE) /Fo$@ ..mmiommio.c
  129. mdriver.o:      ..playercodemdriver.c 
  130.                 ..win32mikmod_build.h ..includemikmod_internals.h
  131. $(COMPILE) /Fo$@ ..playercodemdriver.c
  132. mdreg.o:        ..playercodemdreg.c 
  133.                 ..win32mikmod_build.h ..includemikmod_internals.h
  134. $(COMPILE) /Fo$@ ..playercodemdreg.c
  135. mloader.o:      ..playercodemloader.c 
  136.                 ..win32mikmod_build.h ..includemikmod_internals.h
  137. $(COMPILE) /Fo$@ ..playercodemloader.c
  138. mlreg.o:        ..playercodemlreg.c 
  139.                 ..win32mikmod_build.h ..includemikmod_internals.h
  140. $(COMPILE) /Fo$@ ..playercodemlreg.c
  141. mlutil.o:       ..playercodemlutil.c 
  142.                 ..win32mikmod_build.h ..includemikmod_internals.h
  143. $(COMPILE) /Fo$@ ..playercodemlutil.c
  144. mplayer.o:      ..playercodemplayer.c 
  145.                 ..win32mikmod_build.h ..includemikmod_internals.h
  146. $(COMPILE) /Fo$@ ..playercodemplayer.c
  147. munitrk.o:      ..playercodemunitrk.c 
  148.                 ..win32mikmod_build.h ..includemikmod_internals.h
  149. $(COMPILE) /Fo$@ ..playercodemunitrk.c
  150. mwav.o:         ..playercodemwav.c 
  151.                 ..win32mikmod_build.h ..includemikmod_internals.h
  152. $(COMPILE) /Fo$@ ..playercodemwav.c
  153. npertab.o:      ..playercodenpertab.c 
  154.                 ..win32mikmod_build.h ..includemikmod_internals.h
  155. $(COMPILE) /Fo$@ ..playercodenpertab.c
  156. sloader.o:      ..playercodesloader.c 
  157.                 ..win32mikmod_build.h ..includemikmod_internals.h
  158. $(COMPILE) /Fo$@ ..playercodesloader.c
  159. virtch.o:       ..playercodevirtch.c ..playercodevirtch_common.c 
  160.                 ..win32mikmod_build.h ..includemikmod_internals.h
  161. $(COMPILE) /Fo$@ ..playercodevirtch.c
  162. virtch2.o:      ..playercodevirtch2.c ..playercodevirtch_common.c 
  163.                 ..win32mikmod_build.h ..includemikmod_internals.h
  164. $(COMPILE) /Fo$@ ..playercodevirtch2.c
  165. virtch_common.o:        ..playercodevirtch_common.c 
  166.                 ..win32mikmod_build.h ..includemikmod_internals.h
  167. $(COMPILE) /Fo$@ ..playercodevirtch_common.c