Have you tried using the -I option to make? HTH, Noel
Heiko Nardmann wrote: > > Hi! > > How can I change the search path for a makefileB inside makefileA ? > > Inside makefileA I have a > > include makefileB > > I want to have make search for makefileB first in the current directory (the > one I call make inside), then in the directory above and finally another > level higher. > > How do I implement this? Background: at the top level I have a makefile with > all settings. Next I want to derive my current makefile from the superclass > makefile. > > Is this possible with GNU make? > > If not: feature request: MAKEFILE_SEARCHPATH variable which can be defined > inside a makefile!!! > > -- > Heiko Nardmann (Dipl.-Ing. Technische Informatik) > secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de), > Weidenauer Str. 223-225, D-57076 Siegen > Tel. : +49 271 48950-13, Fax : +49 271 48950-50 > > Besuchen Sie uns > vom 20. - 24.10.2003 auf der Systems in M�nchen, Halle B2, Stand 315 und > vom 06. - 08.11.2003 auf der Comtec in Dresden, Halle 4, Stand B5. > Wir freuen uns auf das Gespr�ch mit Ihnen. > > _______________________________________________ > Help-make mailing list > [EMAIL PROTECTED] > http://mail.gnu.org/mailman/listinfo/help-make -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited. _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
