From dd1e4d238ba2d5301d77dbcf37aa724b40f4bf90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Wed, 8 Jan 2020 18:35:42 +0100 Subject: [PATCH] Build system: remove useless rules for preprocessed Fortran 2008 files Automake actually provides such rules. --- mex/build/matlab/mex.am | 4 ---- mex/build/octave/mex.am | 4 ---- 2 files changed, 8 deletions(-) diff --git a/mex/build/matlab/mex.am b/mex/build/matlab/mex.am index d4307e3bb3..5ba01b7230 100644 --- a/mex/build/matlab/mex.am +++ b/mex/build/matlab/mex.am @@ -29,10 +29,6 @@ clean-local: cd $(top_srcdir)/../../matlab && rm -f $(PROGRAMS); \ fi -# Automake provides a default rule for .f08 files, but not .F08. -%.o: %.F08 - $(AM_V_FC)$(FCCOMPILE) $(DEFS) -c -o $@ $< - # Rules for the Fortran 2008 interface to MEX and BLAS/LAPACK functions matlab_mat.mod: matlab_mex.o matlab_mex.mod: matlab_mex.o diff --git a/mex/build/octave/mex.am b/mex/build/octave/mex.am index f98d1781a4..1d8e1088f7 100644 --- a/mex/build/octave/mex.am +++ b/mex/build/octave/mex.am @@ -36,10 +36,6 @@ clean-local: cd $(top_srcdir)/../../octave && rm -f $(PROGRAMS); \ fi -# Automake provides a default rule for .f08 files, but not .F08 -%.o: %.F08 - $(AM_V_FC)$(FCCOMPILE) $(DEFS) -c -o $@ $< - # Rules for the Fortran 2008 interface to MEX and BLAS/LAPACK functions matlab_mat.mod: matlab_mex.o matlab_mex.mod: matlab_mex.o -- GitLab