X-Spam-Check-By: sourceware.org
X-YMail-OSG: 4iYFYlIVM1mMD018WmQnxx_.xhxyNChtt..9AgHUj5cK1s41m.t3I3b65PYJeFx.Msl6ntLXZfHDj3Xgl46pblZ_50vpyVhPtEFlImpgnuwlgTJM7OA35t.gMPo2JeXa3pU_Gv8wxHcHKfu21JF7TIQP5g--
Message-ID: <45F0212F.10901@aol.com>
Date: Thu, 08 Mar 2007 06:43:59 -0800
From: Tim Prince <n8tm@aol.com>
Reply-To: tprince@computer.org
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: How to use make with a makefile Win32 (cygwin32.mak)
References: <BAY118-F362ECE512F5FBB6378BCD3A7790@phx.gbl>
In-Reply-To: <BAY118-F362ECE512F5FBB6378BCD3A7790@phx.gbl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

patricia5_ds@hotmail.com wrote:
> Hi!
> I'm trying to use the file cygwin32.mak in order to execute the make 
> with a makefile win32 to generate an exe file. I obtain the next error
> 
> $ make
> c codes\compile_concept.c /Foobj\compile_concept.obj
> make: c: Command not found
> make: [obj\compile_concept.obj] Error 127 (ignored)
> /bin/sh: out:bincompile.exe: command not found
> make: [compile.exe] error 127 (ignored)
> make: *** No rule to make target 'concept_leaf.exe', needed by 'all'. Stop.
> 
> I made the changes to the file cygwin32.mak at line 113 to fit the setup 
> and I write the header include in my makefile as follows
> 
> #!/usr/local/include/cygwin32.mak
> 
> Can anyone help me pls?
> 

Why don't you start with working examples or tutorials on gnu make, 
which should apply to the make which comes with cygwin?  Any make which 
works with backslashes or has default rules for .obj and .exe looks to 
be off topic for cygwin.  gnu make works fine for .obj and .exe if you 
add the rules.  I find this more satisfactory than dealing with the 
various non-posix make programs available for Windows, none of which are 
supported by cygwin.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

