home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / pctchnqs / 1991 / number2 / makefile < prev    next >
Makefile  |  1991-03-16  |  460b  |  19 lines

  1. # Listing 4: Makefile for demo.exe
  2. # Copyright (C) 1991 by Nicholas Wilt.    All rights reserved.
  3.  
  4. # Assumes \tc\lib for library directory of TC++; change LIB
  5. # assignment below to reflect a different directory structure.
  6.  
  7. OBJS=heap.obj demo.obj
  8. LIB=\tc\lib
  9.  
  10. demo.exe: $(OBJS)
  11.     tlink /v/map/ST:10240 $(LIB)\c0l heap demo,    \
  12.                   demo.exe,,        \
  13.                   $(LIB)\emu $(LIB)\cl $(LIB)\mathl
  14.  
  15. heap.obj: heap.h
  16.  
  17. .cpp.obj:
  18.     tcc -c -ml -v -w-pia $<
  19.