www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/18/04:57:37

Date: Tue, 18 Apr 2000 11:28:55 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Rossz <rwentwor AT advent DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Make and filename case
In-Reply-To: <8dg7gh$smr$1@nnrp1.deja.com>
Message-ID: <Pine.SUN.3.91.1000418112837.28255N-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 17 Apr 2000, Rossz wrote:

> %.o: %.s
> 	$(AS) $*.s -o $*.o
> 
> 
> I found if the filename has an extension of .S (big letter) instead of
> .s, this rule is not used.  On DOS/Windows systems, it should ignore the
> case when checking rules, in my opinion.

If the rule says ".s", then why does the file have a .S extension?  .S
is interpreted by GCC differently than .s (see section 8.5 of FAQ for
details).

You could simply rename the file to have a .s extension, that should
solve the problem.

- Raw text -


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