automake-patches
[Top][All Lists]
Advanced

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

Re: superfluous link rule for unknown languages


From: Tom Tromey
Subject: Re: superfluous link rule for unknown languages
Date: 04 Jul 2001 18:48:46 -0600

>>>>> "adl" == Alexandre Duret-Lutz <address@hidden> writes:

adl> Automake 1.4i will output a Makefile.in which looks as follow:

adl> ...
adl> | meal$(EXEEXT): $(meal_OBJECTS) $(meal_DEPENDENCIES)
adl> |         @rm -f meal$(EXEEXT)
adl> |         $(LINK) $(meal_LDFLAGS) $(meal_OBJECTS) $(meal_LDADD) $(LIBS)
adl> ...
adl> | meal: beans.veg beef.meat
adl> |         cat beans.veg beef.meat > meal
adl> ...

I'm checking in your test.  Thanks.

In the past we handled this correctly because automake would try to
define the `meal' target, but would then notice that there was already
one in Makefile.am, so it would not define its own.

But that changed because we now always use $(EXEEXT), so the names
don't appear to be the same.

I think the best fix is to go back to conditionally using $(EXEEXT).
We can do that more easily now because of Akim's rewrite of how *.am
files are handled.

Tom



reply via email to

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