From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Fleischer, Karsten (K.)" To: "'John Melody'" , cygwin@cygwin.com Subject: RE: Using cygwin "make" Date: Wed, 17 Jan 2001 04:40:00 -0000 Message-id: <200101171240.f0HCeEk11186@dymwsm12.mailwatch.com> X-SW-Source: 2001-01/msg00827.html Hi John, > I notice that the cd command does not work within the make > file. I have > tried d:\classes, and d:/classes but to no avail. Every single command line of the rule will be executed in its own shell process, thus you end up in the original current dir in the second statement. You can put the commands on a single line, seperated by a semicolon: cd $(CLASSES); jar -cvf $(DISTRIBUTION_DIR)\lib\classes.jar squ/ Or you can use line continuation: cd $(CLASSES); \ jar -cvf $(DISTRIBUTION_DIR)\lib\classes.jar squ/ Karsten -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple