Date: Thu, 4 Mar 1999 12:17:22 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Robert Hoehne cc: djgpp AT delorie DOT com Subject: Re: Rhide Compiling Prob In-Reply-To: <199903040728.CAA24367@delorie.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.