help-make
[Top][All Lists]
Advanced

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

help needed on include and -I


From: Martin Mensch
Subject: help needed on include and -I
Date: Fri, 15 Apr 2005 16:39:56 +0200

Hello,
 
I am trying to add a path to be searched by include. It all works fine if I use -I <pathname> in the command line, when calling make. But I want to have this inside the makefile. I read in the make manual and in the arcive of help-make that I can change the options or flags inside make:
from make manual:
You can also set MAKEFLAGS in a makefile, to specify additional flags that should also be in effect for that makefile.
 
Now I tried a lot but I just won't work.
Can someone please give me a makefile line that does it. Where do I have to place it? Can it be right befoe the include line?
Can I give only the name of a subdirectory like in -I on the command line and without any ./ or / before and after?
 
Thank you very much.
 
Martin

reply via email to

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