Skip to content

Commit 920199c

Browse files
committed
fix module build and d/sroundup_lwork
1 parent 7c84a9f commit 920199c

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

lapack-netlib/SRC/Makefile

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ ALLMOD = la_xisnan.mod la_constants.mod
6363

6464
.SUFFIXES:
6565
.SUFFIXES: .f .F .f90 .F90 .o .mod
66-
%.o: %.f $(ALLMOD)
66+
%.o: %.f
6767
$(FC) $(FFLAGS) -c -o $@ $<
6868
%.o: %.F $(ALLMOD)
6969
$(FC) $(FFLAGS) -c -o $@ $<
@@ -73,6 +73,7 @@ ALLMOD = la_xisnan.mod la_constants.mod
7373
$(FC) $(FFLAGS) -c -o $@ $<
7474
.o.mod:
7575
@true
76+
7677
else
7778
$(info C_LAPACK ist $(C_LAPACK))
7879
.SUFFIXES: .c .o
@@ -102,7 +103,7 @@ SCLAUX = \
102103
slaset.o slasq1.o slasq2.o slasq3.o slasq4.o slasq5.o slasq6.o \
103104
slasr.o slasrt.o slassq.o slasv2.o spttrf.o sstebz.o sstedc.o \
104105
ssteqr.o ssterf.o slaisnan.o sisnan.o \
105-
slartgp.o slartgs.o scombssq.o \
106+
slartgp.o slartgs.o scombssq.o ../INSTALL/sroundup_lwork.o \
106107
../INSTALL/second_$(TIMER).o
107108
endif
108109

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

@@ -672,6 +673,11 @@ sla_wwaddw.o: sla_wwaddw.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
672673
dla_wwaddw.o: dla_wwaddw.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
673674
cla_wwaddw.o: cla_wwaddw.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
674675
zla_wwaddw.o: zla_wwaddw.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
676+
# Modules
677+
la_xisnan.o: la_xisnan.F90 la_constants.mod
678+
$(FC) $(FFLAGS) -c -o $@ $<
679+
la_constants.o: la_constants.f90
680+
$(FC) $(FFLAGS) -c -o $@ $<
675681
else
676682
slaruv.o: slaruv.c ; $(CC) $(CFLAGS) -c -o $@ $<
677683
dlaruv.o: dlaruv.c ; $(CC) $(CFLAGS) -c -o $@ $<

0 commit comments

Comments
 (0)