bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Windows NT - GNU Make problem


From: Florence Porter
Subject: Windows NT - GNU Make problem
Date: Wed, 28 Nov 2001 09:21:25 -0800

I am getting the message "The batch file cannot be found." following a
recursive
make of subdirectories.  The remaining targets are not processed even though
the make of the subdirectory succeedes.

To duplicate the problem:

Here is what is contained in the main Makefile:

SUBDIRS=a

all: subdirs title

title:
        @echo "A title"

subdirs:
        @for %%i in ($(SUBDIRS)) do if EXIST %%i/Makefile ${MAKE}
-${MAKEFLAGS}kC %%i all


Here is what is contained in a\Makefile:

all:
        @echo "I am in directory a's Makefile"


The "I am in directory a's Makefile" is echoed out, however "A title" is not
since
the subdirs target is returning an error.

Any suggestions would be appreciated.  I can get around this by running make
with
the -k option, but I don't know that my developers will appreciate that.

Thanks,

Florence Porter
address@hidden
Canal+ Technologies, Inc.
Lafayette, Colorado



reply via email to

[Prev in Thread] Current Thread [Next in Thread]