home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / e / errins.zip / ERRDEMO.RMK < prev    next >
Text File  |  1992-04-01  |  936b  |  50 lines

  1. //
  2. // ErrDemo.rmk    RMAKE macros and implicit rules for creating
  3. //                the error inspector demonstration.
  4. //
  5. // Copyright (c) 1992 Nantucket Corp. All rights reserved.
  6. //
  7.     
  8. Libraries=errinsp
  9. CompilerOptions=/w /n /m
  10. LinkerOptions=/POSITIONAL
  11.  
  12. // Conditional definition of compiler options macro (CompilerOptions)
  13. //
  14. #ifdef debug
  15. CompilerOptions:="$(CompilerOptions) /b /dDEBUG"
  16. #else
  17. CompilerOptions:="$(CompilerOptions)"
  18. #endif
  19.  
  20. // Conditional definition of linker options macro (LinkerOptions)
  21. //
  22. #ifdef pll
  23. LinkerOptions:="$(LinkerOptions) /PLL:BASE50"
  24. #else
  25. LinkerOptions:="$(LinkerOptions)"
  26. #endif
  27.  
  28.  
  29. // Implicit rules
  30. //
  31.     
  32. .prg.obj:
  33.     set clippercmd=$(CompilerOptions)
  34.     clipper $<
  35.  
  36. .obj.exe:
  37.     set rtlinkcmd=$(LinkerOptions)
  38.     rtlink $**,,,$(Libraries);
  39.  
  40.  
  41. // Dependencies
  42. //
  43.  
  44. errinsp.obj  : errinsp.prg
  45.  
  46. errdemo.obj  : errdemo.prg
  47.  
  48. errdemo.exe  : errdemo.obj errinsp.obj
  49.  
  50.