delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/08/09:44:20

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 AT aol DOT com>
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: <BAY118-F362ECE512F5FBB6378BCD3A7790 AT phx DOT gbl>
In-Reply-To: <BAY118-F362ECE512F5FBB6378BCD3A7790@phx.gbl>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019