home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Libraries / PixMaps 1.1 / Example / MakeFile < prev    next >
Encoding:
Makefile  |  1997-07-10  |  2.2 KB  |  88 lines  |  [TEXT/MPS ]

  1. # File MakeFile Copyright (C) 1996 by John R. Montbriand.  All Rights Reserved.
  2. # PixMap manipulation routines, Rez file.
  3. # Copyright (c) 1996, 1997 by John Montbriand.  All Rights Reserved.
  4. # Permission hereby granted for public use.
  5. # Distribute freely in areas where the laws of copyright apply.
  6. # USE AT YOUR OWN RISK.
  7. # DO NOT DISTRIBUTE MODIFIED COPIES.
  8. # Comments/questions/postcards* to the author at the address:
  9. #   John Montbriand
  10. #   P.O. Box. 1133
  11. #   Saskatoon Saskatchewan Canada
  12. #   S7K 3N2
  13. # or by email at:
  14. #   tinyjohn@sk.sympatico.ca
  15. # *if you mail a postcard, then I will provide you with technical support
  16. # regarding questions you may have about this file. 
  17.  
  18.  
  19.  
  20. ### variables defining what compiler commands to use
  21.  
  22. COMP_PPC = MrC -w off -align power -proto strict
  23.  
  24. COMP_68K = SC -w off -align power -proto strict
  25.  
  26.  
  27. ### resource fork
  28.  
  29. PixExample ƒƒ PixExample.r  PixExample.rsrc
  30.     Rez -i {RIncludes} PixExample.r -o PixExample
  31.  
  32. PixExample ƒƒ :obj:PixExample.c.68k ∂
  33.         :obj:CSApp.c.68k ∂
  34.         :obj:PixMap.c.68k ∂
  35.         PixExample.r PixExample.rsrc
  36.     Link -w -t APPL -c '????' ∂
  37.         -o PixExample ∂
  38.         :obj:PixExample.c.68k ∂
  39.         :obj:CSApp.c.68k ∂
  40.         :obj:PixMap.c.68k ∂
  41.         {CLibraries}StdCLib.o ∂
  42.         {Libraries}Interface.o ∂
  43.         {Libraries}MacRuntime.o
  44.  
  45.  
  46. # data fork
  47.  
  48. PixExample ƒƒ :obj:PixExample.c.ppc ∂
  49.         :obj:CSApp.c.ppc ∂
  50.         :obj:PixMap.c.ppc ∂
  51.         PixExample.r PixExample.rsrc
  52.     PPCLink -w -o PixExample ∂
  53.         :obj:CSApp.c.ppc ∂
  54.         :obj:PixMap.c.ppc ∂
  55.         :obj:PixExample.c.ppc ∂
  56.         {SharedLibraries}InterfaceLib ∂
  57.         {SharedLibraries}StdCLib ∂
  58.         {SharedLibraries}MathLib ∂
  59.         {PPCLibraries}PPCCRuntime.o ∂
  60.         {PPCLibraries}StdCRuntime.o
  61.  
  62.  
  63.  
  64. ### PowerPC compiler commands
  65.  
  66. :obj:PixExample.c.ppc ƒ PixExample.c PixMap.h CSApp.h
  67.     {COMP_PPC} PixExample.c -o :obj:PixExample.c.ppc
  68.  
  69. :obj:PixMap.c.ppc ƒ PixMap.c PixMap.h
  70.     {COMP_PPC} PixMap.c -o :obj:PixMap.c.ppc
  71.  
  72. :obj:CSApp.c.ppc ƒ CSApp.c CSApp.h
  73.     {COMP_PPC} CSApp.c -o :obj:CSApp.c.ppc
  74.  
  75.  
  76.  
  77. ### 68000 compiler commands
  78.  
  79. :obj:PixExample.c.68k ƒ PixExample.c PixMap.h CSApp.h
  80.     {COMP_68K} PixExample.c -o :obj:PixExample.c.68k
  81.  
  82. :obj:PixMap.c.68k ƒ PixMap.c PixMap.h
  83.     {COMP_68K} PixMap.c -o :obj:PixMap.c.68k
  84.  
  85. :obj:CSApp.c.68k ƒ CSApp.c CSApp.h
  86.     {COMP_68K} CSApp.c -o :obj:CSApp.c.68k
  87.  
  88.