automake
[Top][All Lists]
Advanced

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

Re: program target missing $(EXEEXT)


From: Akim Demaille
Subject: Re: program target missing $(EXEEXT)
Date: 26 Mar 2001 14:55:21 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

| I hope I'm sending these problem reports to the right place...
| Environment: cygwin. (Bleeding edge custom build).
| I'm using automake CVS (updated around 2 hours ago).
| 
| The following makefile.am
| ==
| bin_PROGRAMS = client
| ==
| generates the following target list (abridged) in Makefile.in
| ==
| client: $(client_OBJECTS) $(client_DEPENDENCIES)
|         @rm -f client
|         $(LINK) $(client_LDFLAGS) $(client_OBJECTS) $(client_LDADD)
| $(LIBS)
| 
| bin_PROGRAMS = client$(EXEEXT)
| PROGRAMS = $(bin_PROGRAMS)
| ==
| 
| I believe that the "client:" should be "client$(EXEEXT):"
| If it's not, make fails with "make[1]: *** No rule to make target
| `client.exe', needed by `all-am'.  Stop."
| 
| Where should I look to hack up a solution for this?
| 
| If it's a known problem please accept my apologies in advance for noise.

This is a real bug.  Could you make sure you have AC_EXEEXT and
AC_OBJEXT in configure.in, and try again with them?  Does it make any
difference?



reply via email to

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