From: Wolfgang Bangerth Date: Mon, 13 Dec 1999 08:34:11 +0000 (+0000) Subject: Add library pathes. X-Git-Tag: v8.0.0~21314 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f7524402286f9c9a119b7c0969540466bf9ca9d;p=dealii.git Add library pathes. git-svn-id: https://svn.dealii.org/trunk@2046 0785d39b-7218-0410-832d-ea1e28bc413d --- 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