This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: basic imake problem on cygwin
- From: Harold L Hunt II <huntharo at msu dot edu>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 04 May 2004 14:19:50 -0400
- Subject: Re: basic imake problem on cygwin
- References: <4097DD93.4060805@pacbell.net>
- Reply-to: cygwin-xfree at cygwin dot com
Steve,
Steve Kelem wrote:
There seems to be a disconnect in the generated Makefile on cygwin. I
searched the mailing list archives, but wasn't able to find anything
relevant.
With the following Imakefile, my AllTarget is "hello", as the Imakefile
is supposed to be portable, and not know about cygwin's .exe extension
for the compiled binary.
You need to use the ProgramTargetName macro in your AllTarget:
AllTarget(ProgramTargetName(hello))
On non-Cygwin platforms this turns into:
all:: hello
On Cygwin this turns into:
all:: hello.exe
Hope that helps,
Harold