← Back to team overview

nrtb-core team mailing list archive

[Branch ~fpstovall/nrtb/simengine-alpha] Rev 6: Refactored some directoris in simengine/phyics and created the physics Makefile. Now ready to sta...

 

------------------------------------------------------------
revno: 6
committer: fpstovall@xxxxxxxxx
branch nick: simengine-alpha
timestamp: Thu 2011-07-28 05:49:53 -0400
message:
  Refactored some directoris in simengine/phyics and created the physics Makefile. Now ready to start on the physics components.
removed:
  sim_engine/physics/attitude/
  sim_engine/physics/location/
  sim_engine/physics/phyics_triad/
  sim_engine/physics/rotation/
  sim_engine/physics/velocity/
added:
  sim_engine/physics/Makefile
  sim_engine/physics/abstract_effector/
  sim_engine/physics/include/
  sim_engine/physics/obj/
  sim_engine/physics/point_mass/


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

Your team NRTB Core is subscribed to branch lp:~fpstovall/nrtb/simengine-alpha.
To unsubscribe from this branch go to https://code.launchpad.net/~fpstovall/nrtb/simengine-alpha/+edit-subscription
=== added file 'sim_engine/physics/Makefile'
--- sim_engine/physics/Makefile	1970-01-01 00:00:00 +0000
+++ sim_engine/physics/Makefile	2011-07-28 09:49:53 +0000
@@ -0,0 +1,44 @@
+#***********************************************
+#This file is part of the NRTB project (https://launchpad.net/nrtb).
+#
+#    NRTB is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation, either version 3 of the License, or
+#    (at your option) any later version.
+#
+#    NRTB is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with NRTB.  If not, see <http://www.gnu.org/licenses/>.
+#
+#***********************************************
+
+lib: ../lib/nrtb_physics.a
+
+../lib/nrtb_physics.a:
+	@cd ../../common; make 
+	@echo "============= building physics ==============="
+	@make action=lib doit
+	@ar -r ../lib/nrtb_physics.a ./obj/*.o
+	@cp -v ./include/* ../include
+	@echo "============= physics complete ==============="
+
+modules:
+	@echo "============= building physics modules ==============="
+	@make doit
+	@echo "============= completed physics modules =============="
+
+clean:
+	@echo "============= cleaning physics ==============="
+	@rm -fv ../lib/nrtb_physics.a
+	@cd include; for file in *; do rm -fv ../include/$$file; done
+	@make action=clean doit
+	@rm -fv ./obj/* ./lib/* ./include/*
+	@echo "========== physics cleanup complete ==========="
+
+doit:
+	@cd abstract_effector; make ${action}
+	@cd point_mass; make ${action}

=== added directory 'sim_engine/physics/abstract_effector'
=== removed directory 'sim_engine/physics/attitude'
=== added directory 'sim_engine/physics/include'
=== removed directory 'sim_engine/physics/location'
=== added directory 'sim_engine/physics/obj'
=== removed directory 'sim_engine/physics/phyics_triad'
=== added directory 'sim_engine/physics/point_mass'
=== removed directory 'sim_engine/physics/rotation'
=== removed directory 'sim_engine/physics/velocity'