← Back to team overview

nrtb-core team mailing list archive

[Branch ~fpstovall/nrtb/cpp_common] Rev 26: Added the creation and maintainance of a new library file, ntrb_common.a which includes all the

 

------------------------------------------------------------
revno: 26
committer: fpstovall@xxxxxxxxx
branch nick: dev
timestamp: Tue 2011-02-22 21:08:30 -0500
message:
  Added the creation and maintainance of a new library file, ntrb_common.a which includes all the 
  common objects in one file. See https://bugs.launchpad.net/nrtb/+bug/723277 for details.
modified:
  common/Makefile


--
lp:~fpstovall/nrtb/cpp_common
https://code.launchpad.net/~fpstovall/nrtb/cpp_common

Your team NRTB Core is subscribed to branch lp:~fpstovall/nrtb/cpp_common.
To unsubscribe from this branch go to https://code.launchpad.net/~fpstovall/nrtb/cpp_common/+edit-subscription
=== modified file 'common/Makefile'
--- common/Makefile	2010-12-31 14:48:07 +0000
+++ common/Makefile	2011-02-23 02:08:30 +0000
@@ -16,9 +16,12 @@
 #
 #***********************************************
 
-lib:
+lib: ./lib/nrtb_common.a
+
+./lib/nrtb_common.a:
 	@echo "============= building common libs ==============="
 	@make action=lib doit
+	@ar -r ./lib/nrtb_common.a ./obj/*.o
 	@echo "============= common libs complete ==============="
 
 modules:
@@ -29,7 +32,7 @@
 clean:
 	@echo "============= cleaning common libs ==============="
 	@make action=clean doit
-	@rm -fv ./obj/*
+	@rm -fv ./obj/* ./lib/*
 	@echo "========== common lib cleanup complete ==========="
 
 doit: