From d8514f3a847d7fb48a93e81137aec284dae61dc5 Mon Sep 17 00:00:00 2001
From: Guido Kanschat <dr.guido.kanschat@gmail.com>
Date: Wed, 12 Jul 2006 08:24:25 +0000
Subject: [PATCH] put LIBS on the dependency line

git-svn-id: https://svn.dealii.org/trunk@13359 0785d39b-7218-0410-832d-ea1e28bc413d
---
 deal.II/examples/doxygen/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/deal.II/examples/doxygen/Makefile b/deal.II/examples/doxygen/Makefile
index 422270a3e2..533aa06b08 100644
--- a/deal.II/examples/doxygen/Makefile
+++ b/deal.II/examples/doxygen/Makefile
@@ -27,13 +27,13 @@ all: product_matrix$(EXEEXT) block_matrix_array$(EXEEXT) \
 # Specific targets
 ######################################################################
 
-block_matrix_array$(EXEEXT): block_matrix_array.$(OBJEXT) $(lib-lac.g) $(lib-base.g)
+block_matrix_array$(EXEEXT): block_matrix_array.$(OBJEXT) $(lib-lac.g) $(lib-base.g) $(LIBS)
 	@echo =====linking====$(MT)== $<
-	@$(CXX) $(CXXFLAGS.g) $(LDFLAGS) -o $@ $^ $(LIBS)
+	@$(CXX) $(CXXFLAGS.g) $(LDFLAGS) -o $@ $^ 
 
-product_matrix$(EXEEXT): product_matrix.$(OBJEXT) $(lib-lac.g) $(lib-base.g)
+product_matrix$(EXEEXT): product_matrix.$(OBJEXT) $(lib-lac.g) $(lib-base.g) $(LIBS)
 	@echo =====linking====$(MT)== $<
-	@$(CXX) $(CXXFLAGS.g) $(LDFLAGS) -o $@ $^ $(LIBS)
+	@$(CXX) $(CXXFLAGS.g) $(LDFLAGS) -o $@ $^
 
 compressed_block_sparsity_pattern$(EXEEXT): compressed_block_sparsity_pattern.$(OBJEXT) $(lib-deal2-2d.g) $(lib-lac.g) $(lib-base.g)
 	@echo =====linking====$(MT)== $<
-- 
2.39.5