From: <tf...@us...> - 2008-04-30 22:41:02
|
Revision: 257 http://personalrobots.svn.sourceforge.net/personalrobots/?rev=257&view=rev Author: tfoote Date: 2008-04-30 15:41:07 -0700 (Wed, 30 Apr 2008) Log Message: ----------- installing and cleaning an actual library Modified Paths: -------------- pkg/branches/rosbus/util/libTF/Makefile Modified: pkg/branches/rosbus/util/libTF/Makefile =================================================================== --- pkg/branches/rosbus/util/libTF/Makefile 2008-04-30 22:31:52 UTC (rev 256) +++ pkg/branches/rosbus/util/libTF/Makefile 2008-04-30 22:41:07 UTC (rev 257) @@ -3,7 +3,7 @@ LDFLAGS = -lnewmat -all:test +all: install test Quaternion3D.o: src/simple/Quaternion3D.cpp include/libTF/Quaternion3D.h @@ -12,8 +12,15 @@ libTF.o: src/simple/libTF.cpp include/libTF/libTF.h g++ $(CFLAGS) -o $@ -c $< -test: src/test/main.cpp libTF.o Quaternion3D.o +libTF.a: libTF.o Quaternion3D.o + ar -rs libTF.a $^ + +test: src/test/main.cpp libTF.a g++ $(CFLAGS) -o $@ $^ $(LDFLAGS) +install: libTF.a + cp libTF.a lib/ + clean: - rm -f *.o test \ No newline at end of file + rm -f *.o test *.a + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |