home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Applications / Python 1.3 / source code / Nt / Parser / makefile.nt.mak
Encoding:
Makefile  |  1995-12-17  |  713 b   |  37 lines  |  [TEXT/R*ch]

  1. # NT Makefile for parser.
  2. #
  3. # NOTE: pgen is not built
  4.  
  5. !include <..\make.nt.in>
  6.  
  7. PARSEROBJS=    acceler.obj grammar1.obj intrcheck.obj listnode.obj \
  8.             myreadline.obj node.obj parser.obj parsetok.obj \
  9.             tokenizer.obj bitset.obj firstsets.obj grammar.obj \
  10.             metagrammar.obj pgen.obj printgrammar.obj
  11.  
  12. PGENOBJS=    pgenmain.obj
  13.  
  14. OBJS=        $(PARSEROBJS)    # no PGENOBJS
  15.  
  16. PGEN=        pgen.exe
  17.  
  18. XLIB=        Parser.lib
  19.  
  20.  
  21. all:        $(XLIB)  # $(PGEN)
  22.  
  23. $(XLIB):    $(PARSEROBJS)
  24.         $(libmgr) -out:$(XLIB) $(PARSEROBJS)
  25.  
  26. $(PGEN):    $(PGENOBJS) $(XLIB)
  27.         $(linker) $(linkdebug) crtdll.lib $(conflags) $(conlibs) \
  28.             $(PGENOBJS) $(XLIB) -out:$(PGEN)
  29.  
  30. .ignore:
  31.  
  32. clean:
  33.         del *.obj *.lib *.pdb 2> nul
  34.  
  35. clobber:    clean
  36.         del $(PGEN) *.a tags TAGS 2>nul
  37.