help-make
[Top][All Lists]
Advanced

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

need to know how to do something with a makefile


From: Jonathan Wilson
Subject: need to know how to do something with a makefile
Date: Sun, 14 Apr 2002 09:47:23 +0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.9) Gecko/20020311

Basicly, I have a string (called INCLUDES) thats been set to something like this:
-I../../x -I../../y and so on.
I need to convert it to --include-dir=../../x --include-dir=../../y
It should work regardless of the number of different paths in the string.
I am guessing that something like sed might work but I dont know the first thing about sed.
Anyone got any ideas what to do here?






reply via email to

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