update suffix rules
This commit is contained in:
parent
329cdc31b3
commit
7c84a9f7be
|
@ -59,13 +59,20 @@ include $(TOPSRCDIR)/make.inc
|
||||||
|
|
||||||
ifneq ($(C_LAPACK), 1)
|
ifneq ($(C_LAPACK), 1)
|
||||||
$(info fortran... C_LAPACK ist $(C_LAPACK))
|
$(info fortran... C_LAPACK ist $(C_LAPACK))
|
||||||
|
ALLMOD = la_xisnan.mod la_constants.mod
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .f .o
|
.SUFFIXES: .f .F .f90 .F90 .o .mod
|
||||||
.f.o:
|
%.o: %.f $(ALLMOD)
|
||||||
$(FC) $(FFLAGS) -c -o $@ $<
|
$(FC) $(FFLAGS) -c -o $@ $<
|
||||||
.SUFFIXES: .F .o
|
%.o: %.F $(ALLMOD)
|
||||||
.F.o:
|
|
||||||
$(FC) $(FFLAGS) -c -o $@ $<
|
$(FC) $(FFLAGS) -c -o $@ $<
|
||||||
|
%.o: %.f90 $(ALLMOD)
|
||||||
|
$(FC) $(FFLAGS) -c -o $@ $<
|
||||||
|
%.o: %.F90 $(ALLMOD)
|
||||||
|
$(FC) $(FFLAGS) -c -o $@ $<
|
||||||
|
.o.mod:
|
||||||
|
@true
|
||||||
else
|
else
|
||||||
$(info C_LAPACK ist $(C_LAPACK))
|
$(info C_LAPACK ist $(C_LAPACK))
|
||||||
.SUFFIXES: .c .o
|
.SUFFIXES: .c .o
|
||||||
|
|
Loading…
Reference in New Issue