$(NO_ECHO)$(CXX) $(DEFS) $(DEBUG) -c $(WCFLAGS) $(CPPFLAGS) $(PYTHON_INC) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) $<
#-------------------------------------------------------------------------
-all: Makefile libbac.a
+all: Makefile libbac.a libtokyocabinet.a
@echo "==== Make of lib is good ===="
@echo " "
+libtokyocabinet.a:
+ @(cd tokyocabinet ; echo "==>Entering directory `pwd`"; \
+ $(MAKE) $@ || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
+ echo ""; echo "";));
+ @cp tokyocabinet/tcadb.h tokyocabinet/tcbdb.h tokyocabinet/tchdb.h .
+ @touch tokyocabinet/libtokyocabinet.a
+ @cp tokyocabinet/libtokyocabinet.a .
+
+
libbac.a: $(LIBOBJS)
@echo "Making $@ ..."
$(AR) rc $@ $(LIBOBJS)
clean:
$(RMF) *.a core a.out *.o *.bak *.tex *.pdf *~ *.intpro *.extpro 1 2 3
$(RMF) rwlock_test md5sum sha1sum
+ $(RMF) tcadb.h tcbdb.h tchdb.h
+ (cd tokyocabinet ; make clean)
realclean: clean
$(RMF) tags