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

Windows CE

开发平台:

C/C++

  1. # Makefile for MPW (Macintosh Programmers Workshop by Apple)
  2. #                http://developer.apple.com/tools/mpw-tools/
  3. #
  4. #   File:       libmikmod.make
  5. #   Target:     libmikmod
  6. #
  7. #   Builds for 680X0 and PowerPC "classic" Macintosh.
  8. #
  9. #   currently the 68K build doesn't work because the
  10. #   default Symantec compiler lacks "long long" (64-bit)
  11. #   int support and also support for prefix header files.
  12. #   (Switching to another compiler such as the one from
  13. #    "Metrowerks CodeWarrior for MPW" could work, though)
  14. #   Another approach would be to rewrite the code using
  15. #   the SInt64 type and macros. Using a "Math64" subdir.
  16. #
  17. # Build with: make -f libmikmod.make [Remove|Remove-All]
  18. #
  19. # Written by Anders F Bj歳klund <afb@algonet.se>
  20. MAKEFILE        = "libmikmod.make"
  21. MikModDir   =  "::"
  22. LibStatic68K = "libmikmod.o"
  23. LibShared68K = "libmikmod68K.dll"
  24. LibStub68K = "libmikmod68K.lib"
  25. LibStaticPPC = "libmikmod.x"
  26. LibSharedPPC = "libmikmodPPC.dll"
  27. LibStubPPC = "libmikmodPPC.lib"
  28. LibNameFat = "libmikmod"
  29. StubNameFat = "libmikmodStub"
  30. Header          = "mikmod.h"
  31. Export          = "libmikmod.exp"
  32. #------------------------------------------------------------------------------
  33. # Choose your tools and libraries:
  34. CC68K           = SC
  35. CCPPC           = MrC
  36. LIB68K          = Lib
  37. LIBPPC          = PPCLink -xm l
  38. LINK68K         = ILink   -xm s
  39. LINKPPC         = PPCLink -xm s
  40. STUB68K         = MakeStub -arch m68k
  41. STUBPPC         = MakeStub -arch pwpc
  42. #------------------------------------------------------------------------------
  43. # File locations:
  44. Headers    = -i "{MikModDir}include:"