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
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to