home *** CD-ROM | disk | FTP | other *** search
/ The Education Master 1994 (4th Edition) / EDUCATIONS_MASTER_4TH_EDITION.bin / files / progmisc / qparser2 / lib / makefile.mak < prev    next >
Encoding:
Makefile  |  1993-11-07  |  1.1 KB  |  46 lines

  1. #  makefile.mak -- Turbo C++ Makefile for c skeleton library
  2.  
  3. #  NOTE: The Turbo C++ executables and Qparser utilities must be
  4. #  accessible through the following definitions.  CHANGE them to
  5. #  suit your environment
  6.  
  7. CDIR=C:\TC
  8.  
  9. # Compiler model
  10. MODEL=l
  11.  
  12. # compiler options
  13. COPTS=$(QOPTS) -DTCC -m$(MODEL) -O- -I$(CDIR)\include -L$(CDIR)\lib
  14.  
  15. # Compiler options -- the following provides for:
  16. #   1. -O- suppresses optimizations for rapid prototyping
  17. #   2. Qparser debugging (/DDEBUG)
  18. #   3. Qparser QTREES building (/DQTREES)
  19. DEBUG=1
  20. QTREES=0
  21.  
  22. QOPTS=-DDEBUG=$(DEBUG) -DQTREES=$(QTREES)
  23.  
  24. # ------------------
  25. # The Make rules
  26.  
  27. qp.lib: sets.obj respf.obj help.obj qalloc.obj
  28.  
  29. # Compile all files
  30. sets.obj: sets.c
  31.   $(CDIR)\bin\tcc -c $(COPTS) sets.c
  32.   $(CDIR)\bin\tlib qp.lib -+sets.obj
  33.  
  34. respf.obj: respf.c
  35.   $(CDIR)\bin\tcc -c $(COPTS) respf.c
  36.   $(CDIR)\bin\tlib qp.lib -+respf.obj
  37.  
  38. help.obj: help.c
  39.   $(CDIR)\bin\tcc -c $(COPTS) help.c
  40.   $(CDIR)\bin\tlib qp.lib -+help.obj
  41.  
  42. qalloc.obj: qalloc.c
  43.   $(CDIR)\bin\tcc -c $(COPTS) qalloc.c
  44.   $(CDIR)\bin\tlib qp.lib -+qalloc.obj
  45.  
  46.