This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

recursive make and lost stdout


In the following example:

\test>ls -R
.:
makefile  test1

./test1:
makefile

C:\test>cat makefile
test:
        echo "Hello from test"
        $(MAKE) -C test1
C:\test>cat test1\makefile
test:
        echo "Hello from test1"

C:\test>make --unix
echo "Hello from test"
make -C test1

The echo from the sub-makefile in test1 is lost, this used to work about 6
months ago, what am I doing wrong. 

Note: I am running make from a winXP command line not bash.

running from bash I get 
bash-2.05a$ make --unix -s
Hello from test
Hello from test1

or

bash-2.05a$ make --unix
echo "Hello from test"
Hello from test
/bin/make -C test1
make[1]: Entering directory `/test/test1'
echo "Hello from test1"
Hello from test1
make[1]: Leaving directory `/test/test1'

This works for this simple file but is unreliable from a much more complex
version.

Thank in advance.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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