home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / desklib / sources / DeskLib / !DLSources / Libraries / MsgTrans / Static / Makefile < prev   
Encoding:
Makefile  |  1995-09-04  |  1.8 KB  |  83 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.LoadFile    \
  4.             o.LookupPS    \
  5.             o.LoseFile    \
  6.             o.ReportPS    \
  7.             o.CloseFile    \
  8.             o.FileInfo    \
  9.             o.Lookup    \
  10.             o.OpenFile    \
  11.  
  12.  
  13. LibName        =    MsgTrans
  14.  
  15. # Template makefile which makes normal 
  16. # .o files for use in the main static
  17. # linking DeskLib.
  18.  
  19. # The macro $(ObjectFiles) should be set at the 
  20. # start of this file to be a space-separated
  21. # list of object files.
  22. # This is done by 'Makatic'.
  23.  
  24. # The macro $(LibName) should also be set at the 
  25. # start of this file, to be the name of the 
  26. # DeskLib sublibrary.
  27. # This is done by 'Makatic'.
  28.  
  29. # Compiler and linker flags, These can be anything. 
  30. # All essential flags are included in the macros 
  31. # $(CC) and $(ASM)
  32. #
  33. CCFlags        =    -ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  34. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  35.  
  36. CC        =    cc -c $(CCFlags)
  37. ASM        =    objasm $(ASMFlags)
  38.  
  39.  
  40. # -------------------------------------------------------
  41. # Everything below here should probably not be changed...
  42. # -------------------------------------------------------
  43.  
  44. # Here's what we want to make...
  45. #
  46. All:        $(ObjectFiles)
  47.  
  48.  
  49. VPATH = @.^
  50.  
  51. .SUFFIXES:    .c .s .o
  52.  
  53. .c.o:
  54.     $(CC) $< -o $@
  55.     
  56. .s.o:
  57.     $(ASM) -from $< -to $@
  58.  
  59.  
  60.  
  61. # Dynamic dependencies:
  62. o.LoadFile:    ^.c.LoadFile
  63. o.LoadFile:    DeskLib:h.LinkList
  64. o.LoadFile:    DeskLib:h.Core
  65. o.LoadFile:    DeskLib:h.MsgTrans
  66. o.LoadFile:    ^.h.MTDefs
  67. o.LoadFile:    DeskLib:h.LinkList
  68. o.LoadFile:    DeskLib:h.MsgTrans
  69. o.LookupPS:    ^.c.LookupPS
  70. o.LookupPS:    DeskLib:h.MsgTrans
  71. o.LookupPS:    DeskLib:h.Core
  72. o.LoseFile:    ^.c.LoseFile
  73. o.LoseFile:    DeskLib:h.LinkList
  74. o.LoseFile:    DeskLib:h.Core
  75. o.LoseFile:    DeskLib:h.MsgTrans
  76. o.LoseFile:    ^.h.MTDefs
  77. o.LoseFile:    DeskLib:h.LinkList
  78. o.LoseFile:    DeskLib:h.MsgTrans
  79. o.ReportPS:    ^.c.ReportPS
  80. o.ReportPS:    DeskLib:h.Error
  81. o.ReportPS:    DeskLib:h.Core
  82. o.ReportPS:    DeskLib:h.MsgTrans
  83.