X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=makefile;h=7c5bf06d9a72eff2b33c62d3b68cf3403496280c;hb=2f60ad9adad7101d6a2d47313ca202c1ad9bfdd4;hp=0d90342c14f86a677cccafc9187a97998efd8abf;hpb=7d27a4450ed429e3b63e9d3ba7217a28cbbf9a31;p=SXSI%2FTextCollection.git diff --git a/makefile b/makefile index 0d90342..7c5bf06 100644 --- a/makefile +++ b/makefile @@ -1,10 +1,12 @@ CC = g++ -CPPFLAGS = -Wall -ansi -pedantic -g +CPPFLAGS = -Wall -ansi -pedantic -g -O2 -DNDEBUG -testTextCollection_obs = testTextCollection.o TextCollection.o CSA.o Tools.o BitRank.o bittree.o handle.o pos.o rbtree.o dynFMI.o +testTextCollection_obs = testTextCollection.o TextCollection.o CSA.o Tools.o BitRank.o bittree.o handle.o pos.o rbtree.o dynFMI.o -testTextCollection: $(testTextCollection_obs) - $(CC) -o testTextCollection $(testTextCollection_obs) +all: $(testTextCollection_obs) + +testTextCollection: $(testTextCollection_obs) HeapProfiler.o + $(CC) -o testTextCollection $(testTextCollection_obs) HeapProfiler.o clean: rm -f core *.o *~ testTextCollection