delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/30/14:55:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: MAKE - problem with small/capital letters in filenames
Date: Wed, 30 Oct 2002 14:53:26 -0500
Message-ID: <BADF3C947A1BD54FBA75C70C241B0B9E90B9B9@ex02.idirect.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Harig, Mark A." <maharig AT idirect DOT net>
To: "Graff_Zoltan" <zotyo AT z1 DOT fszek DOT hu>, <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g9UJtie17535

> -----Original Message-----
> From: Graff_Zoltan [mailto:zotyo AT z1 DOT fszek DOT hu]
> Sent: Tuesday, October 29, 2002 6:05 AM
> To: cygwin AT cygwin DOT com
> Subject: MAKE - problem with small/capital letters in filenames
> 
> 
> Hi!
> 
> I've got a simple makefile. It works well under DOS (with DJGPP) and
> under Linux (Debian Woody). But it does not work under Cygwin.

What versions of 'make' are you running on DOS, Linux, and Cygwin?
Different versions have different behavior.

As requested at http://cygwin.com/bugs.html,
please include the output of 'cygcheck -s -v -r'
(as an attachment).  This will provide anyone
looking at your question with information
such as which version of Cygwin you are
running and which version of 'make' you
have installed.

> The message: no rule to make 'hello.d'
> The makefile:
> 
> all:
>         $(CC) $(CFLAGS) hello.c -o hello.exe
> 
> include hello.d
> 
> %.d: %.c
>         @ $(CC) -MM $(CFLAGS) $< > $@
> 
> 

The above 'makefile' works on my installation
of cygwin:

$ ls makefile hello.c
hello.c  makefile

$ make -f makefile
makefile:4: hello.d: No such file or directory
gcc -MM  hello.c > hello.d
gcc  hello.c -o hello.exe

It might be more evident what is causing
your problem once you have included
your 'cygcheck -s -v -r' output (as an
attachment).

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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