From 0a5efdafae6c6f08492a24c01976caa4778b1351 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 13 Dec 1999 08:34:11 +0000 Subject: [PATCH] Add library pathes. git-svn-id: https://svn.dealii.org/trunk@2046 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/common/Make.global_options.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/deal.II/common/Make.global_options.in b/deal.II/common/Make.global_options.in index d65ff4d29c..2aa4321b35 100644 --- a/deal.II/common/Make.global_options.in +++ b/deal.II/common/Make.global_options.in @@ -23,6 +23,9 @@ lib-path-base = $D/base/lib lib-path-lac = $D/lac/lib lib-path-deal2 = $D/deal.II/lib +LIBPATH = -L$(lib-path-base) -L$(lib-path-lac) -L$(lib-path-deal2) + + # add search path for libraries for make dependencies vpath %.a $(lib-path-base) @@ -42,11 +45,13 @@ INCLUDE += $(base-include) $(lac-include) $(deal-include) CXXFLAGS.g = -DDEBUG -ggdb -Wall -W -Wconversion \ -Winline -Woverloaded-virtual\ -ftemplate-depth-32\ - $(INCLUDE) + $(INCLUDE) \ + $(LIBPATH) CXXFLAGS.o = -O2 -Wuninitialized -ffast-math \ -felide-constructors -fnonnull-objects \ -ftemplate-depth-32 \ - $(INCLUDE) + $(INCLUDE) \ + $(LIBPATH) # if not egcs-1.1 we can use additional flags for which that compiler -- 2.39.5