delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/12/03/13:59:55

Date: Tue, 03 Dec 2002 20:58:58 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: rich AT phekda DOT freeserve DOT co DOT uk
Message-Id: <9003-Tue03Dec2002205857+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <3DEC8110.FF2D211B@phekda.freeserve.co.uk> (message from Richard
Dawe on Tue, 03 Dec 2002 10:01:52 +0000)
Subject: Re: strtold is now a standard function (C99) [PATCH]
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1021202075345 DOT 29205C-100000 AT is> <3DEC8110 DOT FF2D211B AT phekda DOT freeserve DOT co DOT uk>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Tue, 03 Dec 2002 10:01:52 +0000
> From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
> 
> We currently have this in src/makefile.inc:
> 
>     .SUFFIXES: .o .i .c .cc .s
> 
> My test situation was this:
> 
>     cd /path/to/djgpp/tree
>     cd src
>     mkdir foo
>     cd foo
>     touch foo.c foo.S
> 
> ---Start src/foo/Makefile---
> TOP=.
> 
> #SRC += foo.c
> SRC += foo.S
> 
> include $(TOP)/../makefile.inc
> ---End src/foo/Makefile---
z> 
> I tried: shifting .s to the front; adding .S to the end; adding .S to the
> front. None of this made any difference: the .c file was always compiled and
> the .S file was always ignored, when I did "make clean && make all" in
> src/foo.

Try removing .c from .SUFFIXES altogether.

If all else fails, run Make with -d and look in the report it prints
why did it ignore foo.S and took foo.c.

> BTW why isn't .S in .SUFFIXES?

Because of the case-insensitivity?

We used not to have .S files in djlsr, I think.  It's something that
happened only lately, so perhaps this is a simple omission.

- Raw text -


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