Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix module build and d/sroundup_lwork
  • Loading branch information
martin-frbg committed Apr 21, 2022
commit 920199c577004cee28f207b08685bcca9502ea1a
12 changes: 9 additions & 3 deletions lapack-netlib/SRC/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ ALLMOD = la_xisnan.mod la_constants.mod

.SUFFIXES:
.SUFFIXES: .f .F .f90 .F90 .o .mod
%.o: %.f $(ALLMOD)
%.o: %.f
$(FC) $(FFLAGS) -c -o $@ $<
%.o: %.F $(ALLMOD)
$(FC) $(FFLAGS) -c -o $@ $<
Expand All @@ -73,6 +73,7 @@ ALLMOD = la_xisnan.mod la_constants.mod
$(FC) $(FFLAGS) -c -o $@ $<
.o.mod:
@true

else
$(info C_LAPACK ist $(C_LAPACK))
.SUFFIXES: .c .o
Expand Down Expand Up @@ -102,7 +103,7 @@ SCLAUX = \
slaset.o slasq1.o slasq2.o slasq3.o slasq4.o slasq5.o slasq6.o \
slasr.o slasrt.o slassq.o slasv2.o spttrf.o sstebz.o sstedc.o \
ssteqr.o ssterf.o slaisnan.o sisnan.o \
slartgp.o slartgs.o scombssq.o \
slartgp.o slartgs.o scombssq.o ../INSTALL/sroundup_lwork.o \
../INSTALL/second_$(TIMER).o
endif

Expand All @@ -124,7 +125,7 @@ DZLAUX = \
dlaset.o dlasq1.o dlasq2.o dlasq3.o dlasq4.o dlasq5.o dlasq6.o \
dlasr.o dlasrt.o dlassq.o dlasv2.o dpttrf.o dstebz.o dstedc.o \
dsteqr.o dsterf.o dlaisnan.o disnan.o \
dlartgp.o dlartgs.o \
dlartgp.o dlartgs.o ../INSTALL/droundup_lwork.o \
../INSTALL/dlamch.o ../INSTALL/dsecnd_$(TIMER).o
endif

Expand Down Expand Up @@ -672,6 +673,11 @@ sla_wwaddw.o: sla_wwaddw.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
dla_wwaddw.o: dla_wwaddw.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
cla_wwaddw.o: cla_wwaddw.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
zla_wwaddw.o: zla_wwaddw.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
# Modules
la_xisnan.o: la_xisnan.F90 la_constants.mod
$(FC) $(FFLAGS) -c -o $@ $<
la_constants.o: la_constants.f90
$(FC) $(FFLAGS) -c -o $@ $<
else
slaruv.o: slaruv.c ; $(CC) $(CFLAGS) -c -o $@ $<
dlaruv.o: dlaruv.c ; $(CC) $(CFLAGS) -c -o $@ $<
Expand Down