automake
[Top][All Lists]
Advanced

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

RE: windres compilation rule


From: John Ratliff
Subject: RE: windres compilation rule
Date: Tue, 27 Sep 2005 04:58:26 -0500

> Hello,
> 
> On Tue, Sep 27, 2005 at 01:40:34AM -0500, John Ratliff wrote:
> > make[2]: *** No rule to make target `windows.o', needed by `mpg.exe'.
> Stop.
> 
> this message indicates a problem in the makefile.  It seems that the
> variable mpg_OBJECTS contains "windows.o", while it should contain
> "res/windows.o".
> 
> One idea: AUTOMAKE_OPTIONS should be at the top of Makefile.am;
> it's bad that Automake has to process the suffix rules before it sees
> the "subdir-objects" option.
> 
> If you do this change, does mpg_OBJECTS then contain "res/windows.o"
> (via some helper variables, of course).

No. Here is the relevant section of the Makefile:

am__objects_1 = windows.$(OBJEXT)
am_mpg_OBJECTS = MPGApp.$(OBJEXT) \
        exceptions/InvalidPasswordException.$(OBJEXT) \
        model/Password.$(OBJEXT) view/MPGFrame.$(OBJEXT) \
        view/PasswordPanel.$(OBJEXT) $(am__objects_1)

> 
> Are you willing to test this with CVS Automake?  (Requires test
> Autoconf.)

I should have mentioned I'm using msys and automake 1.8.2 with autoconf
2.59. I wonder if I will be able to test a newer version.

Let me go try it on Linux and see if it's better with a more up-to-date
automake version.

Thanks,

--John Ratliff







reply via email to

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