delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/28/06:01:33

From: *jeffdb AT netzone DOT nospam DOT com (Mikey)
Subject: make-3.75 export bug under gnu-win32/win95
28 May 1997 06:01:33 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <338c1e0b.35997859.cygnus.gnu-win32@smtp.netzone.com>
Reply-To: *jeffdb AT netzone DOT nospam DOT com
Mime-Version: 1.0
Original-To: gnu-win32 AT cygnus DOT com
Original-Cc: noer AT cygnus DOT com
X-Mailer: Forte Agent 1.01/32.397
Original-Sender: owner-gnu-win32 AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019