The first thing you will need to do is create a list of all your
libraries as variables in your Makefile. That is, you will go from
something like this:
G_INCLUDE_DIRS = . vrjuggler-1.0.6 mynewlibrary-2.0
DEBUG_LIBS = vrjuggler-1.0.6-d mynewlibrary-2.0-d
to this:
VRJUGGLER_LIB = vrjuggler-1.0.6
MYNEWLIBR_LIB = mynewlibrary-2.0
G_INCLUDE_DIRS = . $(VRJUGGLER_LIB) $(MYNEWLIBR_LIB)
DEBUG_LIBS = . $(VRJUGGLER_LIB)-d $(MYNEWLIBR_LIB)-d
Separating your library names like this will allow you to easily
control the version you use for each library, without having to change
their name in multiple places.