home *** CD-ROM | disk | FTP | other *** search
/ Dream 55 / Amiga_Dream_55.iso / RISCOS / MAGAZINE / NEWS / 3DENGI.ZIP / 3DEngine / Makefile < prev    next >
Makefile  |  1998-08-12  |  2KB  |  106 lines

  1. # Project:   3DTest
  2.  
  3. # Toolflags:
  4. CCflags = -c -depend !Depend -IC: -throwback -Otime -zps1
  5. CCflagsH = -c -depend !Depend -IC: -throwback -Otime -DHierProf_PROFILE
  6. CCflagsM = -c -g -depend !Depend -IC: -throwback -Otime -DMemcheck_MEMCHECK
  7. C++flags = -c -depend !Depend -IC: -throwback
  8. Linkflags = -aif -c++ -o $@
  9. ObjAsmflags = -throwback -NoCache -depend !Depend
  10. CMHGflags =
  11. LibFileflags = -c -o $@
  12. Squeezeflags = -o $@
  13.  
  14. .SUFFIXES:    .o .om .oh .c .s
  15.  
  16. .s.o:;  OBjasm $(ObjAsmFlags) -o $@ $<
  17.  
  18. .c.o:;  cc $(CCflags) -o $@ $<
  19. .c.om:;    MemCheck.CC cc $(ccflagsM) -o $@ $<
  20. .c.oh:;    cc $(ccflagsH) -o $@ $<
  21.  
  22. # O_FILES
  23. O_FILES = \
  24.     @.o.V_Mode    \
  25.     @.o.fpuset
  26.  
  27. # OH_FILES
  28. OH_FILES = \
  29.     @.oh.V_Mode    \
  30.     @.o.fpuset
  31.  
  32. # OH_FILES
  33. OM_FILES = \
  34.     @.om.V_Mode    \
  35.     @.o.fpuset
  36.  
  37. # Final targets:
  38. # All: @.3DTest @.3dTestH @.3dTestM
  39. All: @.3DTest
  40.     Echo Example App built!
  41.  
  42. @.3DTest:   ModelLib:ModelLib PlotLib:PlotLib c:o.stubs $(O_FILES)
  43.         link $(linkflags) ModelLib:ModelLib PlotLib:PlotLib c:o.stubs $(O_FILES)
  44.  
  45. @.3DTestH:   ModelLib:ModelLib c:o.stubs $(OH_FILES)
  46.         link $(linkflags) ModelLib:ModelLib PlotLib:PlotLib c:o.stubs $(OH_FILES) HierProf:o.HP
  47.  
  48. @.3DTestM:   ModelLib:ModelLibM c:o.stubs $(OM_FILES)
  49.         link -d $(linkflags) ModelLib:ModelLibM PlotLib:PlotLibM c:o.stubs $(OM_FILES) MemCheck:o.MC
  50.  
  51. PlotLib:PlotLib:
  52.     |Build !PlotLib first!
  53.     error 0 Build !PlotLib first!
  54.  
  55. ModelLib:ModelLib:
  56.     |Build !ModelLib first!
  57.     error 0 Build !ModelLib first!
  58.  
  59. ModelLib:ModelLibM:
  60.     |Build !ModelLib first!
  61.     error 0 Build !ModelLib first!
  62.  
  63. # User-editable dependencies:
  64.  
  65. # Static dependencies:
  66.  
  67. # Dynamic dependencies:
  68. oh.V_Mode:    c.V_Mode
  69. oh.V_Mode:    C:h.bbc
  70. oh.V_Mode:    C:h.os
  71. oh.V_Mode:    C:h.kernel
  72. oh.V_Mode:    C:h.swis
  73. oh.V_Mode:    C:h.os
  74. oh.V_Mode:    C:h.time
  75. oh.V_Mode:    HierProf:h.Hierprof
  76. oh.V_Mode:    ModelLib:h.ModelLib
  77. oh.V_Mode:    PlotLib:h.PlotLib
  78. om.V_Mode:    c.V_Mode
  79. om.V_Mode:    MemCheck:ANSI.h.stdio
  80. om.V_Mode:    C:h.stdlib
  81. om.V_Mode:    C:h.string
  82. om.V_Mode:    C:h.stdarg
  83. om.V_Mode:    C:h.math
  84. om.V_Mode:    C:h.bbc
  85. om.V_Mode:    C:h.os
  86. om.V_Mode:    C:h.kernel
  87. om.V_Mode:    C:h.swis
  88. om.V_Mode:    C:h.os
  89. om.V_Mode:    C:h.time
  90. om.V_Mode:    MemCheck:h.MemCheck
  91. om.V_Mode:    C:h.stddef
  92. om.V_Mode:    MemCheck:ANSI.h.stdio
  93. om.V_Mode:    C:h.stdarg
  94. om.V_Mode:    ModelLib:h.ModelLib
  95. om.V_Mode:    PlotLib:h.PlotLib
  96. o.fpuset: s.fpuset
  97. o.V_Mode:    c.V_Mode
  98. o.V_Mode:    C:h.bbc
  99. o.V_Mode:    C:h.os
  100. o.V_Mode:    C:h.kernel
  101. o.V_Mode:    C:h.swis
  102. o.V_Mode:    C:h.os
  103. o.V_Mode:    C:h.time
  104. o.V_Mode:    ModelLib:h.ModelLib
  105. o.V_Mode:    PlotLib:h.PlotLib
  106.