home *** CD-ROM | disk | FTP | other *** search
- # makefile for testgc.exe, a demo of the PointerHeap, Error,
- # gcobject, and gcstring classes.
-
- # the compact or large memory model is recommended.
- # for Borland C++ make, use:
- # make -ftestgc.mak
- # for Turbo C++, use:
- # make -fmakefile.bcc -DCOMPILER=TCC
-
- !if !$d(COMPILER)
- COMPILER=bcc
- !endif
-
- testgc.exe: testgc.obj gcstring.obj gcobject.obj pointerh.obj error.obj
- $(COMPILER) -mc testgc.obj gcstring.obj gcobject.obj pointerh.obj error.obj
-
- testgc.obj: testgc.cpp gcstring.hpp gcobject.hpp error.hpp pointerh.hpp
- $(COMPILER) -mc -c testgc.cpp
-
- gcstring.obj: gcobject.cpp gcstring.cpp gcstring.hpp gcobject.hpp error.hpp pointerh.hpp
- $(COMPILER) -mc -c gcstring.cpp
-
- gcobject.obj: gcobject.cpp gcobject.hpp error.hpp
- $(COMPILER) -mc -c gcobject.cpp
-
- pointerh.obj: pointerh.cpp pointerh.hpp error.hpp
- $(COMPILER) -mc -c pointerh.cpp
-
- error.obj: error.cpp error.hpp
- $(COMPILER) -mc -c error.cpp
-