🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #618

how to make "make" variables override sub-make variables

#618
From: Jeff Sondeen
Date: Wed, 12 Aug 1992 01:32
16 lines
1039 bytes
Is there (or shouldn't there be) an easy way to let top-level make
variables override the values specified in sub-makefiles; for example:
BINDIR.  I tried setting MAKEFLAGS but it doesn't work; that is,

MAKEFLAGS= BINDIR=/my/bin/dir

is interpreted as a "-B" switch or something.

I saw the trick that groff-1.05 uses in it's top-level makefile but I was
hoping for something easier, like a new switch for make.

Thanks,
--
/jeff

Life and love are as deep [as your] eyes are wide... -Rush
Technical Details
Message-ID: <22185@venera.isi.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!isi.edu!sondeen

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!isi.edu!sondeen
From: sondeen@isi.edu (Jeff Sondeen)
Newsgroups: gnu.utils.bug
Subject: how to make "make" variables override sub-make variables
Keywords: nn
Message-ID: <22185@venera.isi.edu>
Date: 12 Aug 92 01:32:25 GMT
Sender: gnulists@ai.mit.edu
Reply-To: Jeff Sondeen <sondeen@isi.edu>
Distribution: gnu
Organization: USC-Information Sciences Institute
Lines: 16
Approved: bug-gnu-utils@prep.ai.mit.edu