[Makefile] File path substitution
From: Mmazio (mmazio_at_eyou.com)
Date: 10/14/04
- Next message: Josef Moellers: "Re: [Makefile] File path substitution"
- Previous message: QNils_O=2E_Sel=E5sdal=22?=: "Re: message queues and select"
- Next in thread: Josef Moellers: "Re: [Makefile] File path substitution"
- Reply: Josef Moellers: "Re: [Makefile] File path substitution"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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!
- Next message: Josef Moellers: "Re: [Makefile] File path substitution"
- Previous message: QNils_O=2E_Sel=E5sdal=22?=: "Re: message queues and select"
- Next in thread: Josef Moellers: "Re: [Makefile] File path substitution"
- Reply: Josef Moellers: "Re: [Makefile] File path substitution"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]