Subject: Re: Overriding /usr/share/mk/ in make ...
To: Daniel Carosone <>
From: Andrew Cagney <>
List: tech-ports
Date: 10/12/1995 17:15:23

recently I asked:

> > > As far as I can tell, netbsd-make doesn't allow the path/name of the
> > > file to be changed (except by recompiling).  Two questions
> > > arise:

Having made a better effort of reading both the manual and source code,
it turns out what I needed was there all along.  The command:

	make -r -f /applications/clayton/root/usr/share/mk/ -f Makefile .....

will achieve what I was after.  Where

	-r	don't use builtin rules (actually standard system makefile)

	-f *	include first the local system make file and then the current
		directories make file.