home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / yacl-012.zip / basedemo / btree / makefile.gcc < prev    next >
Makefile  |  1995-03-29  |  977b  |  56 lines

  1.  
  2. include $(YACLPATH)/control/gccmak.ctl
  3.  
  4. PROGS = simple treeprnt dkbtrtst btreetst
  5.  
  6. all: $(PROGS)
  7.  
  8. # ----------------------------------------------------------------------------
  9.  
  10. simple: simple.o
  11.     $(CC)  -o simple simple.o $(LNKOPTS) $(LNKLIB) -lg++
  12.  
  13.  
  14.  
  15. # ----------------------------------------------------------------------------
  16.  
  17. treeprnt: treeprnt.o
  18.     $(CC)  -o treeprnt treeprnt.o  $(LNKOPTS) $(LNKLIB) -lg++
  19.  
  20.  
  21.  
  22. # ----------------------------------------------------------------------------
  23.  
  24.  
  25. dkbtrtst: dkbtrtst.o
  26.     $(CC)  -o dkbtrtst dkbtrtst.o  $(LNKOPTS) $(LNKLIB) -lg++
  27.  
  28.  
  29.  
  30. # ---------------------------------------------------------------------------
  31. btreetst: btreetst.o
  32.     $(CC)  -o btreetst btreetst.o $(LNKOPTS) $(LNKLIB) -lg++
  33.  
  34.  
  35. # ----------------------------------------------------------------------------
  36.  
  37.  
  38.  
  39.  
  40. .SUFFIXES:
  41.  
  42. .SUFFIXES: .cxx .o
  43.  
  44.  
  45. .cxx.o:
  46.     $(CC) $(CCOPTS) $*.cxx
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54. clean:
  55.     rm -f *.o  $(PROGS)
  56.