home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / dreamscape / utilities / Dreamscape / Utilities / MaskThrow / Makefile next >
Encoding:
Makefile  |  1996-04-28  |  1008 b   |  53 lines

  1.  
  2. ObjectFiles =    o.match        \
  3.         o.header    \
  4.         o.module
  5. Project =    MaskThrowback
  6. Libraries =    C:o.msstubs
  7. Target =    MaskThrow
  8.  
  9. CCFlags =    -ffa -depend !Depend -throwback -IC: -zM
  10. ObjAsmFlags =    -throwback -NoCache -depend !Depend
  11. LinkFlags =    -rmf -c++
  12. SqueezeFlags =    -v
  13.  
  14. CC =        cc -c $(CCFlags)
  15. OBJASM =    ObjAsm $(ObjAsmFlags)
  16. CMHG =        CMHG $(CMHGFlags)
  17. LINK =        Link $(LinkFlags)
  18. SQUEEZE =    Squeeze $(SqueezeFlags)
  19.  
  20.  
  21. # Don't alter anything below this...
  22.  
  23. .SUFFIXES:    .o .c
  24.  
  25. $(Target):    $(ObjectFiles) $(Libraries)
  26.     Echo -- Linked $(Target)
  27.     $(LINK) -o $@ $(ObjectFiles) $(Libraries)
  28.     $(SQUEEZE) $@
  29.     Copy $@ Choices:Boot.PreDesk.MaskThrow ~CF
  30.  
  31. .c.o:
  32.     Echo -- Compiling $<
  33.     $(CC) -o $@ $<
  34. .s.o:
  35.     Echo -- Assembling $<
  36.     $(OBJASM) -from $< -to $@
  37. .cmhg.o:
  38.     Echo -- Assembling $<
  39.     $(CMHG) $< $@
  40.  
  41.  
  42. # Dynamic dependencies:
  43. o.other:    c.other
  44. o.match:    c.match
  45. o.module: s.module
  46. o.module: OS:Hdr.Filter
  47. o.module: OS:Hdr.Types
  48. o.module: OS:Hdr.OS
  49. o.module: OS:Hdr.WIMP
  50. o.module: OS:Hdr.OSSpriteOp
  51. o.module: OS:Hdr.Font
  52. o.module: Masked
  53.