home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / lr.zip / GR.MAK < prev    next >
Text File  |  1993-05-15  |  1KB  |  43 lines

  1. #-----------------------------------------------------------------------------
  2. # GR.MAK - Make file to make grammars
  3. #
  4. # Serge Kovalyov, February 1993
  5. #-----------------------------------------------------------------------------
  6.  
  7. #-----------------------------------------------------------------------------
  8. #                  PART 1 - define grammar and text
  9. #
  10. #            Edit this part when choosing another grammar
  11. #-----------------------------------------------------------------------------
  12.  
  13.  
  14. # Grammar name - if absents, no make at all
  15.  
  16. GR = C:\LR\LR_SQL
  17. # Text name - if commented out by #, then only compile grammar
  18.  
  19. #TEXT = C:\LR\LR_SQL.TXT
  20.  
  21. #-----------------------------------------------------------------------------
  22. #                  PART 2 - path to LRP compiler/parser
  23. #
  24. #                     Edit this part when installing LRP
  25. #-----------------------------------------------------------------------------
  26.  
  27. LRP_DIR = C:\LR
  28.  
  29.  
  30. #-----------------------------------------------------------------------------
  31. #            PART 3 - invoke makefile to make grammar and/or parse text
  32. #
  33. #                    Do not edit this part
  34. #-----------------------------------------------------------------------------
  35.  
  36. !CMDSWITCHES +S
  37. !IFDEF LRP_DIR
  38. !INCLUDE <$(LRP_DIR)\GRP.MAK>
  39. !ELSE
  40. ERR:
  41.         echo Fatal error U1050: failed to find path to LRP compiler/parser
  42. !ENDIF
  43.