home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / yacl-012.zip / base / makefile.emx < prev    next >
Makefile  |  1995-04-04  |  992b  |  85 lines

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