www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/04/05:20:23

Date: Thu, 4 Mar 1999 12:17:22 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Robert Hoehne <robert DOT hoehne AT gmx DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Rhide Compiling Prob
In-Reply-To: <199903040728.CAA24367@delorie.com>
Message-ID: <Pine.SUN.3.91.990304121316.1354O-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Thu, 4 Mar 1999, Robert Hoehne wrote:

> or can you tell me an easy way to tell
> GNU Make how to handle the filename in the Makefile below
> correct?
> 
> sources='this is a file.c' other.c
> objects=$(patsubst %.c,%.o,$(sources))

If the problem is that $patsubst fails, try 'this is the file'.c 
instead.  Both `system' and the DJGPP startup code can handle such 
cases.

If this is not the problem, please explain what is.  I'm not sure I 
understand the difficulty.

- Raw text -


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