Subject: Re: Overriding /usr/share/mk/sys.mk in make ...
To: Daniel Carosone <email@example.com>
From: Andrew Cagney <firstname.lastname@example.org>
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
> > > sys.mk 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/sys.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.