help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to transfrom a.c dir1/b.c to -I. -I./dir1


From: PRC
Subject: How to transfrom a.c dir1/b.c to -I. -I./dir1
Date: Fri, 1 Aug 2008 10:18:17 +0800

Hi All,

There is a variable in my Makefile script, whose value is:
src = a.c dir1/b.c c.c dir2/d.c
I wonder how to transform its value to
-I. -I./dir1 -I. -I./dir2
in the Makefile script only using Make built-in functions, 
without invoking shell utilities (I think shell functions are slower than
built-in functions. Am I right? ).


Best Regards
PRC
Aug 1, 2008






reply via email to

[Prev in Thread] Current Thread [Next in Thread]