This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

make-3.75 export bug under gnu-win32/win95


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]