home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-11-07 | 1.1 KB | 46 lines |
- # makefile.mak -- Turbo C++ Makefile for c skeleton library
-
- # NOTE: The Turbo C++ executables and Qparser utilities must be
- # accessible through the following definitions. CHANGE them to
- # suit your environment
-
- CDIR=C:\TC
-
- # Compiler model
- MODEL=l
-
- # compiler options
- COPTS=$(QOPTS) -DTCC -m$(MODEL) -O- -I$(CDIR)\include -L$(CDIR)\lib
-
- # Compiler options -- the following provides for:
- # 1. -O- suppresses optimizations for rapid prototyping
- # 2. Qparser debugging (/DDEBUG)
- # 3. Qparser QTREES building (/DQTREES)
- DEBUG=1
- QTREES=0
-
- QOPTS=-DDEBUG=$(DEBUG) -DQTREES=$(QTREES)
-
- # ------------------
- # The Make rules
-
- qp.lib: sets.obj respf.obj help.obj qalloc.obj
-
- # Compile all files
- sets.obj: sets.c
- $(CDIR)\bin\tcc -c $(COPTS) sets.c
- $(CDIR)\bin\tlib qp.lib -+sets.obj
-
- respf.obj: respf.c
- $(CDIR)\bin\tcc -c $(COPTS) respf.c
- $(CDIR)\bin\tlib qp.lib -+respf.obj
-
- help.obj: help.c
- $(CDIR)\bin\tcc -c $(COPTS) help.c
- $(CDIR)\bin\tlib qp.lib -+help.obj
-
- qalloc.obj: qalloc.c
- $(CDIR)\bin\tcc -c $(COPTS) qalloc.c
- $(CDIR)\bin\tlib qp.lib -+qalloc.obj
-