automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with fortran sources in recent automake.


From: Dan McMahill
Subject: Re: problem with fortran sources in recent automake.
Date: Sun, 16 Mar 2008 00:55:32 -0400
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

Ralf Wildenhues wrote:
Hello Dan,

* Dan McMahill wrote on Mon, Mar 10, 2008 at 01:49:54PM CET:
I'm trying to debug a piece of open-source 3rd party software. It mixes c++ and fortran and has a Makefile.am fragment that looks like:

foo_SOURCES= src/file1.cpp src/file2.cpp src/file3.F src/file4.F

The c++ parts compile file but then make dies with a complaint about no rule for target file3.o. So I took a look at the automake-1.10.1 generated Makefile.in and see something like this:

am__objects_1 = src/file1.$(OBJEXT) src/file2.$(OBJEXT)
am__objects_2 = file3.$(OBJEXT) file4.$(OBJEXT)

I assume that you're using the Automake option subdir-objects then,
right?

it does appear that subdir-objects was being used in this Makefile.am. I took that out and my subdir problems seem to have gone away.

Thanks!
-Dan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]