delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/31/05:15:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <AF65BF91C823D511848D00B0D0AAE29059A3AD@exchange.drives.eurotherm.co.uk>
From: "Melchers, Robert" <robert DOT melchers AT drives DOT eurotherm DOT co DOT uk>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: recursive make and lost stdout
Date: Wed, 31 Jul 2002 10:10:08 +0100
MIME-Version: 1.0

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/

- Raw text -


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