home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / b / bc3.zip / MAKEFILE < prev    next >
Text File  |  1992-02-17  |  608b  |  27 lines

  1. # (C) Copyright 1992 Qualitas, Inc.  All rights reserved.
  2. #
  3. # Makefile for DPMI class library examples with Borland C++ 3.0
  4. #
  5.  
  6. # NOTE: You must define BC3lib as the directory 
  7. #     where your BC++ 3.0 libraries reside
  8.  
  9. BC3lib    = \borlandc\lib
  10. DPMIlib    = ..\lib
  11. LIBS    = dpmi dpmiclas cs
  12.  
  13. C0    = $(DPMIlib)\c0s.obj
  14. C    = bcc -I..\include -2 -ms -H -c $*.c
  15. CPP    = bcc -I..\include -2 -ms -H -c $*.cpp
  16. LINK    = tlink -L$(BC3lib);$(DPMIlib)   $(C0)  $*.obj, $*, , $(LIBS);
  17.  
  18. examples: xmem.exe xintr.exe xcept.exe xreal.exe hello.exe qsort.exe
  19.  
  20. .cpp.exe:
  21.     $(CPP) 
  22.     $(LINK) 
  23. .c.exe:
  24.     $(C) 
  25.     $(LINK) 
  26.  
  27.