From 67876fec73431c2d940dc49de3d80e37ff0b4b97 Mon Sep 17 00:00:00 2001 From: Salvatore Filippone Date: Sun, 2 Mar 2025 12:13:56 +0100 Subject: [PATCH] Use $(AR) in makefiles merged from EXT --- cuda/CUDA/Makefile | 2 +- cuda/Makefile | 2 +- cuda/impl/Makefile | 2 +- cuda/spgpu/Makefile | 2 +- cuda/spgpu/kernels/Makefile | 2 +- ext/Makefile | 4 ++-- ext/impl/Makefile | 2 +- openacc/Makefile | 2 +- openacc/impl/Makefile | 2 +- rsb/impl/Makefile | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/cuda/CUDA/Makefile b/cuda/CUDA/Makefile index 5bdfb935..010d591d 100644 --- a/cuda/CUDA/Makefile +++ b/cuda/CUDA/Makefile @@ -29,7 +29,7 @@ psi_cuda_z_CopyCooToElg.o psi_cuda_z_CopyCooToHlg.o objs: $(CUDAOBJS) lib: objs - ar cur ../$(LIBNAME) $(CUDAOBJS) + $(AR) ../$(LIBNAME) $(CUDAOBJS) $(CUDAOBJS): psi_cuda_common.cuh psi_cuda_CopyCooToElg.cuh psi_cuda_CopyCooToHlg.cuh diff --git a/cuda/Makefile b/cuda/Makefile index a6757fe7..1a595bc7 100755 --- a/cuda/Makefile +++ b/cuda/Makefile @@ -48,7 +48,7 @@ COBJS= elldev.o hlldev.o diagdev.o hdiagdev.o vectordev.o ivectordev.o dnsdev.o OBJS=$(COBJS) $(FOBJS) lib: objs ilib cudalib spgpulib - ar cur $(LIBNAME) $(OBJS) + $(AR) $(LIBNAME) $(OBJS) /bin/cp -p $(LIBNAME) $(LIBDIR) diff --git a/cuda/impl/Makefile b/cuda/impl/Makefile index 9ceb4575..2d9a774d 100755 --- a/cuda/impl/Makefile +++ b/cuda/impl/Makefile @@ -291,7 +291,7 @@ psb_z_cuda_dnsg_mat_impl.o objs: $(OBJS) lib: objs - ar cur ../$(LIBNAME) $(OBJS) + $(AR) ../$(LIBNAME) $(OBJS) clean: /bin/rm -f $(OBJS) diff --git a/cuda/spgpu/Makefile b/cuda/spgpu/Makefile index 85801942..1a58fdc2 100644 --- a/cuda/spgpu/Makefile +++ b/cuda/spgpu/Makefile @@ -15,7 +15,7 @@ all: includes objs objs: $(OBJS) iobjs lib: objs iobjs ilib - ar cur $(LIBNAME) $(OBJS) + $(AR) $(LIBNAME) $(OBJS) /bin/cp -p $(LIBNAME) $(LIBDIR) iobjs: diff --git a/cuda/spgpu/kernels/Makefile b/cuda/spgpu/kernels/Makefile index 748b66d0..43cf2724 100644 --- a/cuda/spgpu/kernels/Makefile +++ b/cuda/spgpu/kernels/Makefile @@ -24,7 +24,7 @@ OBJS=cabs.o camax.o casum.o caxpby.o caxy.o cdot.o cgath.o \ objs: $(OBJS) lib: objs - ar cur $(UP)/$(LIBNAME) $(OBJS) + $(AR) $(UP)/$(LIBNAME) $(OBJS) clean: diff --git a/ext/Makefile b/ext/Makefile index 36b82433..6ef24cba 100755 --- a/ext/Makefile +++ b/ext/Makefile @@ -34,9 +34,9 @@ COBJS= OBJS=$(COBJS) $(FOBJS) lib: objs ilib - ar cur $(LIBNAME) $(OBJS) + $(AR) $(LIBNAME) $(OBJS) /bin/cp -p $(LIBNAME) $(LIBDIR) - + objs: $(OBJS) iobjs /bin/cp -p *$(.mod) $(MODDIR) diff --git a/ext/impl/Makefile b/ext/impl/Makefile index 57593a54..4b952ed3 100755 --- a/ext/impl/Makefile +++ b/ext/impl/Makefile @@ -406,7 +406,7 @@ psb_z_dns_mat_impl.o objs: $(OBJS) lib: objs - ar cur ../$(LIBNAME) $(OBJS) + $(AR) ../$(LIBNAME) $(OBJS) clean: /bin/rm -f $(OBJS) diff --git a/openacc/Makefile b/openacc/Makefile index f60a810d..6b1f3fbb 100644 --- a/openacc/Makefile +++ b/openacc/Makefile @@ -35,7 +35,7 @@ OBJS=$(COBJS) $(FOBJS) lib: objs ilib - ar cur $(LIBNAME) $(OBJS) + $(AR) $(LIBNAME) $(OBJS) /bin/cp -p $(LIBNAME) $(LIBDIR) objs: $(OBJS) iobjs diff --git a/openacc/impl/Makefile b/openacc/impl/Makefile index e460598b..d28d45dd 100755 --- a/openacc/impl/Makefile +++ b/openacc/impl/Makefile @@ -178,7 +178,7 @@ psb_z_oacc_hll_vect_mv.o objs: $(OBJS) lib: objs - ar cur ../$(LIBNAME) $(OBJS) + $(AR) ../$(LIBNAME) $(OBJS) psb_s_oacc_csr_vect_mv.o psb_s_oacc_csr_inner_vect_sv.o \ psb_s_oacc_csr_scals.o \ diff --git a/rsb/impl/Makefile b/rsb/impl/Makefile index 925f8e42..e78fc325 100755 --- a/rsb/impl/Makefile +++ b/rsb/impl/Makefile @@ -24,7 +24,7 @@ psb_d_cp_rsb_to_coo.o psb_d_rsb_csmv.o objs: $(OBJS) lib: objs - ar cur ../$(LIBNAME) $(OBJS) + $(AR) ../$(LIBNAME) $(OBJS) clean: /bin/rm -f $(OBJS)