# $Id: makefile 3987 2008-09-16 23:24:22Z abehm $ # Copyright (C) 2007 by The Regents of the University of California # Date: 10/13/2007 # Author: Alexander Behm include ../../makefile.inc # FOR THE LOOPTIMER LDFLAGS = -lrt all: example libfiltertreewrappers.a wrappersimple.h: filtertree/ftindexersimple.h \ filtertree/ftsearchermem.h \ common/simmetric.h \ common/gramgen.h \ common/query.h touch $@ wrappers.h: wrappersimple.h wrappers.o: wrappers.h libfiltertreewrappers.a: libfiltertreewrappers.a(\ wrappers.o) example.o: wrappers.h example: libfiltertreewrappers.a \ $(APPSTRINGROOT)/filtertree/libfiltertree.a \ $(APPSTRINGROOT)/common/libcommon.a \ $(APPSTRINGROOT)/util/libutil.a \ $(APPSTRINGROOT)/listmerger/liblistmerger.a .PHONY: $(APPSTRINGROOT)/common/libcommon.a $(APPSTRINGROOT)/common/libcommon.a: $(MAKE) -C $(APPSTRINGROOT)/common libcommon.a .PHONY: $(APPSTRINGROOT)/util/libutil.a $(APPSTRINGROOT)/util/libutil.a: $(MAKE) -C $(APPSTRINGROOT)/util libutil.a .PHONY: $(APPSTRINGROOT)/listmerger/liblistmerger.a $(APPSTRINGROOT)/listmerger/liblistmerger.a: $(MAKE) -C $(APPSTRINGROOT)/listmerger liblistmerger.a .PHONY: $(APPSTRINGROOT)/filtertree/libfiltertree.a $(APPSTRINGROOT)/filtertree/libfiltertree.a: $(MAKE) -C $(APPSTRINGROOT)/filtertree libfiltertree.a .PHONY: clean clean: -rm perftest example *.o *.a *~ *.ix -$(MAKE) -C $(APPSTRINGROOT)/util clean -$(MAKE) -C $(APPSTRINGROOT)/listmerger clean -$(MAKE) -C $(APPSTRINGROOT)/core clean -$(MAKE) -C $(APPSTRINGROOT)/filtertree clean