此文件包含了在linux下实现tpr-tree索引的源代码
源代码在线查看: makefile
# # Moving point workload generator v 1.1 # Copyright(c) 1999-2001, Aalborg University # # Common Definitions # LINKER = g++ INCS = LDFLAGS = LIBS = CC = g++ CFLAGS = -O3 -Wno-deprecated $(DEFINES) # End of common definitions # DEFINES = -DUNIX PROGRAM = generate SRCS = gen.cpp generate.cpp params.cpp pool.cpp randnorm.cpp GENERATEOBJS = $(SRCS:.cpp=.o) DEST = . $(PROGRAM): .depend $(GENERATEOBJS) $(LINKER) -o $(PROGRAM) $(LDFLAGS) $(GENERATEOBJS) $(LIBS) chq: chqueries.o $(LINKER) -o chq $(LDFLAGS) chqueries.o .depend: $(MAKE) depend touch .depend %.o: %.cpp $(CC) -c $(CFLAGS) $(INCS) $*.cpp cleanmake: sed -n -e '1,/^# DO NOT DELETE THIS LINE/p' < Makefile > Makefile.tmp;\ mv Makefile Makefile.bak;\ mv Makefile.tmp Makefile depend: sed -n -e '1,/^# DO NOT DELETE THIS LINE/p' < Makefile > Makefile.tmp;\ $(CC) -MM $(DEFINES) $(INCS) $(SRCS) >> Makefile.tmp;\ mv Makefile Makefile.bak;\ mv Makefile.tmp Makefile clean: rm -f *.o *~ *.bak .depend # DO NOT DELETE THIS LINE -- make depend depends on it.