delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/29/05:58:47

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
Date: Tue, 29 Oct 2002 12:04:38 +0100
To: cygwin AT cygwin DOT com
Subject: MAKE - problem with small/capital letters in filenames
Message-ID: <20021029110438.GB20015@z1.fszek.hu>
Mime-Version: 1.0
User-Agent: Mutt/1.3.28i
From: Graff_Zoltan <zotyo AT z1 DOT fszek DOT hu>

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.
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) $< > $@


It works if I change the
%.d: %.c
line, and write:
hello.d: hello.c

There is a HELLO.C file in the current directory,
with capital letters (because it's a novell network drive in WinXp)

1. On a local driver I can rename HELLO.C to hello.c and
   %.d: %.c works well.
2. On the network drive the hello.d: hello.c works (with small letters)

But I need %.d: %.c to works on the network drive.
How Can I do it?

Sorry about my englis :-(
Zoltan Graff

--
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