]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Link with p4est if necessary.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Oct 2010 23:42:35 +0000 (23:42 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Oct 2010 23:42:35 +0000 (23:42 +0000)
git-svn-id: https://svn.dealii.org/trunk@22485 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/Makefile

index a2b82549cb61361181b25d524dfa3d17c870dea7..519fa3738bb16b0f0f05855e8cde7058aef3be38 100644 (file)
@@ -149,6 +149,16 @@ ifneq ($(GXX-VERSION),compaq_cxx)
     deplibs.o += $D/lib/libtbb$(shared-lib-suffix)
   endif
 
+  # and p4est
+  ifeq ($(USE_CONTRIB_P4EST),yes)
+    deplibs.g += $(DEAL_II_P4EST_DIR)/DEBUG/lib/libp4est.so \
+                 $(DEAL_II_P4EST_DIR)/DEBUG/lib/libsc.so \
+                -Wl,-rpath,$(DEAL_II_P4EST_DIR)/DEBUG/lib
+    deplibs.o += $(DEAL_II_P4EST_DIR)/FAST/lib/libp4est.so \
+                 $(DEAL_II_P4EST_DIR)/FAST/lib/libsc.so \
+                -Wl,-rpath,$(DEAL_II_P4EST_DIR)/FAST/lib
+  endif
+
   # for cygwin and darwin, also llapack and such are necessary
   # we better link all libraries mentioned in $(LIBS)
   ifneq ($(findstring cygwin,$(TARGET))$(findstring darwin,$(TARGET)),)

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.