DIR = wrappers
.cc.o:
	(cd ..; $(LINK_COMPILE.cc) $(GNUFLAGS) $(DIR)/$<; mv $@ $(DIR))
## important:   use lorder() and tsort() to establish correct order
SOURCES.cc = 		\
basicSTkInit.o		\
graphSTkInit.o		\
userobjSTkInit.o	\
algorithmSTkInit.o	\
generatorSTkInit.o	\
layoutSTkInit.o		
OBJECTS = \
	$(SOURCES.cc:%.cc=%.o)
all:    objects
libwrappers.a: $(OBJECTS)
	@-rm ../libwrappers.a
	ar cr ../libwrappers.a $(OBJECTS)
	ranlib ../libwrappers.a; touch libwrappers.a
objects: $(SOURCES.cc) $(OBJECTS)
clean:
	$(RM) basicSTkInit.cc graphSTkInit.cc userobjSTkInit.cc \
	      $(NEWLINKBASE)/include/LINK/wrappers/basicSTkInit.h \
	      $(NEWLINKBASE)/include/LINK/wrappers/graphSTkInit.h \
	      $(NEWLINKBASE)/include/LINK/wrappers/userobjSTkInit.h \
	      $(OBJECTS) libwrappers.a
#	$(RM) $(OBJECTS) libwrappers.a
print:
	hsp -p $(SOURCES.cc)
wc:
	wc $(SOURCES.cc)
depend:
	makedepend -fMake.wrappers $(DEPENDFLAGS) $(SOURCES.cc)
# DO NOT DELETE THIS LINE -- make depend depends on it.
