From: *jeffdb@netzone.nospam.com (Mikey)
Subject: make-3.75 export bug under gnu-win32/win95
28 May 1997 06:01:33 -0700
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <338c1e0b.35997859.cygnus.gnu-win32@smtp.netzone.com>
Reply-To: *jeffdb@netzone.nospam.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Original-To: gnu-win32@cygnus.com
Original-Cc: noer@cygnus.com
X-Mailer: Forte Agent 1.01/32.397
Original-Sender: owner-gnu-win32@cygnus.com

make 3.75 apparently has a problem with exported variables, invoking
make -n with the following makefile causes actual compilation in the
subdirectories.

I had to add the following line to get the expected behavior

MAKE += $(MFLAGS)

So apparently MAKEFLAGS is not being interpreted correctly by
sub-makes, also placing "export" in a makefile also dosen't seem to
have any effect.

I have seen this problem reported , or at least discussed once before,
but never saw an answer as to whether this is a win95, gnu-win32, or
make-3.75 issue, anyone know? does make-3.75 do this under NT?

Or am I reading the make.info wrong?

##################################################################
UNMAKE	= Makefile makefile makefile.cl readme.txt cabview dropext
fileview \
	mandel
DIRLIST	= $(filter-out $(UNMAKE),$(wildcard *))

..PHONY: all clean distclean linkclean unix

all clean distclean linkclean unix:
	for file in $(DIRLIST) ; do \
	  echo making in $$file ;\
	  $(MAKE) -C $$file $@ || exit 1;\
	done

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
