home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
yacl-012.zip
/
base
/
makefile.gcc
< prev
next >
Wrap
Makefile
|
1995-03-29
|
993b
|
85 lines
include ../control/gccmak.ctl
LIBRARY = $(YACLLIB)/lib$(BASE).a
MEMLIB = $(YACLLIB)/lib$(MEMORY).a
OBJECTS = \
basicops.o \
bitset.o \
bytarray.o \
bytestrm.o \
bytstrng.o \
clntset.o \
date.o \
error.o \
gbtree.o \
integer.o \
intseq.o \
intset.o \
iofilter.o \
map.o \
object.o \
objseq.o \
objset.o \
sequence.o \
set.o \
stream.o \
strgseq.o \
strgset.o \
string.o \
strsplit.o \
tbtree.o \
timeofda.o \
tree.o \
treewalk.o
.SUFFIXES:
.SUFFIXES: .cxx .o
all: $(LIBRARY) $(MEMORY)
$(LIBRARY): $(OBJECTS)
$(MEMORY): memory.o
ar r $(MEMLIB) memory.o
ranlib $(MEMLIB)
memory.o: memory.cxx
$(CC) $(CCOPTS) $*.cxx
all: $(LIBRARY)
ranlib $(LIBRARY)
$(LIBRARY): $(OBJECTS)
.SUFFIXES:
.SUFFIXES: .cxx .o .a
.cxx.o:
$(CC) $(CCOPTS) $*.cxx
ar r $(LIBRARY) $*.o
clean:
-rm -f *.o $(LIBRARY) $(MEMLIB)