delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/09/05/20:27:17

From: bbarr AT intertv DOT com (Brian Barr)
Subject: 'cd' command with GNU MAKE on NT
5 Sep 1997 20:27:17 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199709021735.NAA09492.cygnus.gnu-win32@mecca.intertv.com>
Original-To: gnu-win32 AT cygnus DOT com
X-Sun-Charset: US-ASCII
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I am having a problem with BASH and GNU MAKE on NT40. 

In my makefile, I have the following command: 

> $(SOURCE_PATH)/%: $(USER_SOURCE_PATH)/%/main.mk force 
>    @cd $@;   / 
>     $(MAKE) -f $(MAKE_DIR)/one.mk MAKE_FILE=$ < $(MAKE_TARGET) 

when gnu make tries to execute the 'cd' command above, it fails, 
returning a sintax error.   The target directory exists.  Does 
anyone know what the problem could be? 

Thanks. 
Brian. 
-
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