From 097d63147aa9a0c15f2e069865e7881c660e8724 Mon Sep 17 00:00:00 2001 From: sfilippone Date: Wed, 24 Jan 2024 17:58:39 +0100 Subject: [PATCH] Fix cuda dir makefile --- cuda/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cuda/Makefile b/cuda/Makefile index 0f03e359..49c5f0cb 100755 --- a/cuda/Makefile +++ b/cuda/Makefile @@ -47,7 +47,10 @@ COBJS= elldev.o hlldev.o diagdev.o hdiagdev.o vectordev.o ivectordev.o dnsdev.o OBJS=$(COBJS) $(FOBJS) -lib: objs +lib: objs ilib cudalib spgpulib + ar cur $(LIBNAME) $(OBJS) + /bin/cp -p $(LIBNAME) $(LIBDIR) + objs: spgpuinc $(OBJS) iobjs cudaobjs spgpuobjs /bin/cp -p *$(.mod) $(MODDIR) @@ -60,9 +63,6 @@ spgpuobjs: spgpulib: $(MAKE) -C spgpu lib -lib: ilib cudalib spgpulib - ar cur $(LIBNAME) $(OBJS) - /bin/cp -p $(LIBNAME) $(LIBDIR) dnsdev_mod.o hlldev_mod.o elldev_mod.o psb_base_vectordev_mod.o: core_mod.o psb_d_cuda_vect_mod.o psb_s_cuda_vect_mod.o psb_z_cuda_vect_mod.o psb_c_cuda_vect_mod.o: psb_i_cuda_vect_mod.o