This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31588] New: gfortran should be able to output Makefile dependencies with -M* options
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Apr 2007 09:21:24 -0000
- Subject: [Bug fortran/31588] New: gfortran should be able to output Makefile dependencies with -M* options
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
gcc has various -M options to create Makefile dependencies for automatic
dependency tracking, which is very nice for compilation of large projects.
gfortran should be able to do the same. Here are examples with g95:
$ cat a.f90
module foo
integer, parameter :: bar = 42
end module foo
$ g95 -M a.f90
a.o foo.mod: a.f90
$ cat a.F90
include "foo.inc"
module foo
integer, parameter :: bar = 42
end module foo
$ g95 -M a.F90
a.o foo.mod: a.F90 foo.inc
--
Summary: gfortran should be able to output Makefile dependencies
with -M* options
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31588