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 Reply-To: tprince AT computer DOT org User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: How to use make with a makefile Win32 (cygwin32.mak) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com patricia5_ds AT hotmail DOT 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/