'cd' command with GNU MAKE on NT

Brian Barr bbarr@intertv.com
Wed Sep 3 00:42:00 GMT 1997


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@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list