[Makefile] File path substitution

From: Mmazio (mmazio_at_eyou.com)
Date: 10/14/04


Date: Thu, 14 Oct 2004 17:32:29 +0800

I have some sources in a variable:
src = /path/to/file1/file1 /path/to/file2/file2 ....
and I want to have these files' path name replaced by a new path:
src_new = /path/to/new/file1 /path/to/new/file2 ....
How can I make this ? Is there sth like "src_new=${src:.c=.o}" but replace
the path, not the suffix? or by other means such as apply shell command on
src?

Thanks!