Mail Archives: djgpp/1999/03/04/05:20:23
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 -