home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 November / macformat-018.iso / Utility Spectacular / Developer / hex Folder / MakeFile < prev    next >
Encoding:
Makefile  |  1992-09-30  |  1.1 KB  |  50 lines  |  [TEXT/MPS ]

  1. ################################
  2. #
  3. # MakeFile for Hex tool
  4. #
  5. # Copyright Paul Russell, ARC Electronics, 1987-1992.
  6. #
  7. # To build a new version of Hex, execute the following
  8. # MPW commands:
  9. #
  10. #    BuildProgram Hex                    # compile the new version of Hex
  11. #    Duplicate -y Hex "{MPW}Tools:"        # copy it to the MPW Tools folder
  12. #
  13.  
  14. Creator = 'MPS '
  15. Type = MPST
  16.  
  17. POptions = -r -mbg off -o {Targ}        # production
  18. #POptions = -mbg full -ov -o {Targ}        # development
  19.  
  20. ROptions = -c {Creator} -t {Type} -append -o {Targ}
  21.  
  22. LOptions = -c {Creator} -t {Type} -w -o {Targ}
  23.  
  24. SOURCES = Hex.p Hex.r
  25.  
  26. OBJECTS = Hex.o
  27.  
  28. VOptions = -d -r -fmt 1Z.3Z
  29.  
  30. VersionLog = Version.Log
  31.  
  32. EchoDate = Echo -n "`Date -s`∂t"
  33.  
  34. Hex ƒƒ MakeFile {OBJECTS}
  35.     Link {LOptions} ∂
  36.         {OBJECTS} ∂
  37.         "{Libraries}"stubs.o ∂
  38.         "{Libraries}"Runtime.o ∂
  39.         "{Libraries}"Interface.o ∂
  40.         "{PLibraries}"PasLib.o ∂
  41.         "{Libraries}"ToolLibs.o
  42.  
  43. Hex ƒƒ MakeFile Hex.r
  44.     Rez {ROptions} Hex.r
  45.  
  46. Hex.o ƒ MakeFile Hex.p
  47.     {EchoDate} >> {VersionLog}
  48.     SetVersion {VOptions} Hex -psource Hex.p -rezsource Hex.r >> {VersionLog} || Set Status 0
  49.     Pascal {POptions} Hex.p 
  50.