home *** CD-ROM | disk | FTP | other *** search
/ Prima Shareware 3 / DuCom_Prima-Shareware-3_cd1.bin / PROGRAMO / C / GCSTRI / TESTGC.MAK < prev   
Encoding:
Text File  |  1991-10-25  |  933 b   |  31 lines

  1. # makefile for testgc.exe, a demo of the PointerHeap, Error, 
  2. # gcobject, and gcstring classes.
  3.  
  4. # the compact or large memory model is recommended.
  5. # for Borland C++ make, use:
  6. #    make -ftestgc.mak
  7. # for Turbo C++, use:
  8. #    make -fmakefile.bcc -DCOMPILER=TCC
  9.  
  10. !if !$d(COMPILER)
  11. COMPILER=bcc
  12. !endif
  13.  
  14. testgc.exe: testgc.obj gcstring.obj gcobject.obj pointerh.obj error.obj
  15.     $(COMPILER) -mc testgc.obj gcstring.obj gcobject.obj pointerh.obj error.obj
  16.  
  17. testgc.obj: testgc.cpp gcstring.hpp gcobject.hpp error.hpp pointerh.hpp
  18.     $(COMPILER) -mc -c testgc.cpp
  19.  
  20. gcstring.obj: gcobject.cpp gcstring.cpp gcstring.hpp gcobject.hpp error.hpp pointerh.hpp
  21.     $(COMPILER) -mc -c gcstring.cpp
  22.  
  23. gcobject.obj: gcobject.cpp gcobject.hpp error.hpp
  24.     $(COMPILER) -mc -c gcobject.cpp
  25.  
  26. pointerh.obj: pointerh.cpp pointerh.hpp error.hpp
  27.     $(COMPILER) -mc -c pointerh.cpp
  28.  
  29. error.obj: error.cpp error.hpp
  30.     $(COMPILER) -mc -c error.cpp
  31.