Builds the library by default instead of the test program.
authorkim <kim@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Tue, 14 Feb 2012 13:51:32 +0000 (13:51 +0000)
committerkim <kim@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Tue, 14 Feb 2012 13:51:32 +0000 (13:51 +0000)
git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/branches/TextCollection/library-split@1228 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

makefile

index 92d83d8..f6d781c 100644 (file)
--- a/makefile
+++ b/makefile
@@ -17,7 +17,7 @@ TCDebug_obs =  bittree.o rbtree.o dynFMI.o
 
 TEXTCOLLECTION_A=libTextCollection.a
 
-all: testTextCollection
+all: $(TEXTCOLLECTION_A)
 
 testTextCollection: testTextCollection.o $(TextCollection_obs) $(LIBS) $(TCDebug_obs) HeapProfiler.o
        $(CC) -o testTextCollection testTextCollection.o $(TextCollection_obs) $(LIBS) $(TCDebug_obs) HeapProfiler.o