]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Support shared libs.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 26 Jan 2000 17:00:46 +0000 (17:00 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 26 Jan 2000 17:00:46 +0000 (17:00 +0000)
git-svn-id: https://svn.dealii.org/trunk@2273 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/Makefile
tests/deal.II/Makefile
tests/lac/Makefile

index 2e2546c191fb8dd12c19f5f7a676344fda3911c7..ccbb50b68344f3b86c1d18e2242597b810b568a8 100644 (file)
@@ -23,8 +23,10 @@ debug-mode = on
 # Define library names
 ############################################################
 
-libs   = -llac -lbase
-libs.g = -llac.g -lbase.g
+libs.g   = $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 ############################################################
index 8f58c66c2a42754dfd542b43668559bf6447fda9..d687e7f45131a172aea057b64e9a8d0db657b7ab 100644 (file)
@@ -23,8 +23,13 @@ debug-mode = on
 # Define library names
 ############################################################
 
-libs   = -ldeal_II_2d -llac -lbase
-libs.g = -ldeal_II_2d.g -llac.g -lbase.g
+libs.g   = $(lib-deal2-2d.g) \
+           $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = $(lib-deal2-2d.o) \
+           $(lib-lac.o)      \
+           $(lib-base.o)
+
 
 ############################################################
 # Select compiler flags according to debug-mode
@@ -32,15 +37,15 @@ libs.g = -ldeal_II_2d.g -llac.g -lbase.g
 
 ifeq ($(debug-mode),on)
 libraries = $(libs.g)
-libdeal3d = -ldeal_II_3d.g
-libdeal1d = -ldeal_II_1d.g
+libdeal3d = $(lib-deal2-3d.g)
+libdeal1d = $(lib-deal2-1d.g)
 flags     = $(CXXFLAGS.g) $(CXXFLAGS)
 endif
 
 ifeq ($(debug-mode),off)
 libraries = $(libs)
-libdeal3d = -ldeal_II_3d
-libdeal1d = -ldeal_II_1d
+libdeal3d = $(lib-deal2-3d.o)
+libdeal1d = $(lib-deal2-1d.o)
 flags     = $(CXXFLAGS.o) $(CXXFLAGS)
 endif
 
index 363f156f5071e8b0762e467e66e31fbea1eb2418..b5ff9fffcf0847fe389a9afc03326b18255e652b 100644 (file)
@@ -23,8 +23,10 @@ debug-mode = on
 # Define library names
 ############################################################
 
-libs   = -llac -lbase
-libs.g = -llac.g -lbase.g
+libs.g   = $(lib-lac.g)      \
+           $(lib-base.g)
+libs     = $(lib-lac.o)      \
+           $(lib-base.o)
 
 
 ############################################################

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.