Article View: gnu.utils.bug
Article #654Re: how to make "make" variables override sub-make variables
From: bothner
Date: Fri, 14 Aug 1992 08:23
Date: Fri, 14 Aug 1992 08:23
12 lines
787 bytes
787 bytes
> Is there (or shouldn't there be) an easy way to let top-level make > variables override the values specified in sub-makefiles Doing it manually is easy. In Cygnus Makefile, we typically do: FLAGS_TO_PASS = CC=$(CC) BINDIR=$(BINDIR) ... do_foo: cd foo; $(MAKE) $(FLAGS_TO_PASS) all --Per Bothner Cygnus Support bothner@cygnus.com
Technical Details
Message-ID:
<9208142223.AA13487@cygnus.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!bothnerReferences:
<22185@venera.isi.edu>Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!bothner From: bothner@cygnus.com Subject: Re: how to make "make" variables override sub-make variables Message-ID: <9208142223.AA13487@cygnus.com> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet References: <22185@venera.isi.edu> Distribution: gnu Date: Fri, 14 Aug 1992 08:23:52 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 13