This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: program target missing $(EXEEXT)
- To: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- Subject: Re: program target missing $(EXEEXT)
- From: Akim Demaille <akim at epita dot fr>
- Date: 26 Mar 2001 14:55:21 +0200
- Cc: <automake at gnu dot org>
- List-Id: Discussion list for automake <automake.gnu.org>
- References: <00ed01c0b5f0$8ebc7db0$0200a8c0@lifelesswks>
| 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?