From 0d3e25792f8cce69eac0a065ed257159ae462ed7 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 6 Mar 2003 15:29:02 +0000 Subject: [PATCH] Check for and use ar. git-svn-id: https://svn.dealii.org/trunk@7273 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/Makefile | 4 ++-- deal.II/contrib/hsl/Makefile | 2 +- deal.II/deal.II/Makefile | 12 ++++++------ deal.II/lac/Makefile | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/deal.II/base/Makefile b/deal.II/base/Makefile index 65e5c8e3e8..ef573e61f1 100644 --- a/deal.II/base/Makefile +++ b/deal.II/base/Makefile @@ -46,12 +46,12 @@ endif $(LIBDIR)/libbase.a: $(o-files) @echo "=====base=============optimized==$(MT)== Linking library: $(@F)" - @ar ru $@ $(o-files) + @$(AR) ru $@ $(o-files) @$(RANLIB) $@ $(LIBDIR)/libbase.g.a: $(go-files) @echo "=====base=============debug======$(MT)== Linking library: $(@F)" - @ar ru $@ $(go-files) + @$(AR) ru $@ $(go-files) @$(RANLIB) $@ diff --git a/deal.II/contrib/hsl/Makefile b/deal.II/contrib/hsl/Makefile index e78f09b6cc..2c08e9cc20 100644 --- a/deal.II/contrib/hsl/Makefile +++ b/deal.II/contrib/hsl/Makefile @@ -35,7 +35,7 @@ endif $(LIBDIR)/libhsl.a: $(forward-declarations) $(o-files) @echo =====hsl==============optimized==$(MT)== Linking library: $(@F) - @ar ru $@ $(o-files) + @$(AR) ru $@ $(o-files) # link the object files to a shared library. since this is not C++, # simply use the C compiler, rather than $(SHLIBLD) diff --git a/deal.II/deal.II/Makefile b/deal.II/deal.II/Makefile index 6ae190875d..02e5bca521 100644 --- a/deal.II/deal.II/Makefile +++ b/deal.II/deal.II/Makefile @@ -104,31 +104,31 @@ endif # rules how to make the libraries themselves $(LIBDIR)/libdeal_II_1d.g.a: $(go-files-1d) @echo "=====deal.II====1d====debug======$(MT)== Linking library: $(@F)" - @ar ru $@ $(go-files-1d) + @$(AR) ru $@ $(go-files-1d) @$(RANLIB) $@ $(LIBDIR)/libdeal_II_1d.a: $(o-files-1d) @echo "=====deal.II====1d====optimized==$(MT)== Linking library: $(@F)" - @ar ru $@ $(o-files-1d) + @$(AR) ru $@ $(o-files-1d) @$(RANLIB) $@ $(LIBDIR)/libdeal_II_2d.g.a: $(go-files-2d) @echo "=====deal.II====2d====debug======$(MT)== Linking library: $(@F)" - @ar ru $@ $(go-files-2d) + @$(AR) ru $@ $(go-files-2d) @$(RANLIB) $@ $(LIBDIR)/libdeal_II_2d.a: $(o-files-2d) @echo "=====deal.II====2d====optimized==$(MT)== Linking library: $(@F)" - @ar ru $@ $(o-files-2d) + @$(AR) ru $@ $(o-files-2d) @$(RANLIB) $@ $(LIBDIR)/libdeal_II_3d.g.a: $(go-files-3d) @echo "=====deal.II====3d====debug======$(MT)== Linking library: $(@F)" - @ar ru $@ $(go-files-3d) + @$(AR) ru $@ $(go-files-3d) @$(RANLIB) $@ $(LIBDIR)/libdeal_II_3d.a: $(o-files-3d) @echo "=====deal.II====3d====optimized==$(MT)== Linking library: $(@F)" - @ar ru $@ $(o-files-3d) + @$(AR) ru $@ $(o-files-3d) @$(RANLIB) $@ diff --git a/deal.II/lac/Makefile b/deal.II/lac/Makefile index 89da282cc2..7e24adfdba 100644 --- a/deal.II/lac/Makefile +++ b/deal.II/lac/Makefile @@ -66,12 +66,12 @@ endif $(LIBDIR)/liblac.a: $(o-files) @echo "=====lac==============optimized==$(MT)== Linking library: $(@F)" - @ar ru $@ $(o-files) + @$(AR) ru $@ $(o-files) @$(RANLIB) $@ $(LIBDIR)/liblac.g.a: $(go-files) @echo "=====lac==============debug======$(MT)== Linking library: $(@F)" - @ar ru $@ $(go-files) + @$(AR) ru $@ $(go-files) @$(RANLIB) $@ -- 2.39.5