Bug in 'make' setting MAKEFLAGS

From: Mike Battersby <mib_at_unimelb.edu.au>
Date: Fri, 06 Apr 2001 12:47:16 +1000

The man page for make(1) on Tru64 4.0g includes the following comment
under the definition of MAKEFLAGS:

      All command line macro definitions are assigned to this macro and
      cannot be changed.

>From my brief investigation, this does not appear to work -- MAKEFLAGS
contains only the flags proper (-w, -e, etc.) and not the command line
macro definitions. This seems like a bug to me, and is significantly
annoying.

Have I just failed to understand? Is this fixed in later versions of
Tru64?

Example test-case Makefile:

#
# Makefile
# Try this with
# make SOMEVAR=setting
#
all:
        _at_echo "MAKEFLAGS = '$(MAKEFLAGS)'

Cheers,

 - Mike

-- 
Mike Battersby <mib_at_unimelb.edu.au>        The University of Melbourne
Fetch my pgp key from: http://ariel.ucs.unimelb.edu.au/~mib/pgpkey.txt

Received on Fri Apr 06 2001 - 02:48:42 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT