home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / yacl-012.zip / base / makefile.cfr < prev    next >
Makefile  |  1994-10-14  |  904b  |  86 lines

  1.  
  2.  
  3. include ../cfrontmk.ctl
  4.  
  5.  
  6. LIBRARY = $(YACLLIB)/lib$(BASE).a
  7. MEMLIB  = $(YACLLIB)/lib$(MEMORY).a
  8.  
  9.  
  10.  
  11. OBJECTS =    \
  12. basicops.o \
  13. bitset.o   \
  14. bytarray.o \
  15. bytestrm.o \
  16. bytstrng.o \
  17. clntset.o  \
  18. date.o     \
  19. error.o    \
  20. gbtree.o   \
  21. integer.o  \
  22. intseq.o   \
  23. intset.o   \
  24. iofilter.o \
  25. map.o      \
  26. object.o   \
  27. objseq.o   \
  28. objset.o   \
  29. sequence.o \
  30. set.o      \
  31. stream.o   \
  32. strgseq.o  \
  33. strgset.o  \
  34. string.o   \
  35. strsplit.o \
  36. tbtree.o   \
  37. timeofda.o \
  38. tree.o     \
  39. treewalk.o
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46. .SUFFIXES:
  47. .SUFFIXES: .cxx .o
  48.  
  49. all: $(LIBRARY) $(MEMORY)
  50.  
  51.  
  52.  
  53. $(LIBRARY): $(OBJECTS)
  54.  
  55.  
  56. $(MEMORY): memory.o
  57.     ar r $(MEMLIB) memory.o
  58.     ranlib $(MEMLIB)
  59.         
  60. memory.o: memory.cxx
  61.     $(CC) $(CCOPTS) $*.cxx
  62.  
  63.         
  64.  
  65.  
  66. all: $(LIBRARY) 
  67.     ranlib $(LIBRARY)
  68.  
  69.  
  70. $(LIBRARY): $(OBJECTS)
  71.  
  72.  
  73. .SUFFIXES:
  74.  
  75. .SUFFIXES: .cxx .o .a
  76.  
  77.  
  78. .cxx.o:
  79.     $(CC) $(CCOPTS)  $*.cxx
  80.     ar r $(LIBRARY) $*.o
  81.         
  82.  
  83.  
  84. clean:
  85.     -rm -f *.o  $(LIBRARY) $(MEMLIB)
  86.