public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Fleischer, Karsten (K.)" <kfleisc1@ford.com>
To: "'John Melody'" <john@sybernet.ie>, cygwin@cygwin.com
Subject: RE: Using cygwin "make"
Date: Wed, 17 Jan 2001 04:40:00 -0000	[thread overview]
Message-ID: <200101171240.f0HCeEk11186@dymwsm12.mailwatch.com> (raw)

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

             reply	other threads:[~2001-01-17  4:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-17  4:40 Fleischer, Karsten (K.) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-01-17  6:16 Bernard Dautrevaux
2001-01-17  6:23 ` Christopher Faylor
2001-01-17  5:42 Fleischer, Karsten (K.)
     [not found] <200101171240.f0HCe1001909@dymwsm10.mailwatch.com>
2001-01-17  5:29 ` John Melody
2001-01-17  4:27 John Melody

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200101171240.f0HCeEk11186@dymwsm12.mailwatch.com \
    --to=kfleisc1@ford.com \
    --cc=cygwin@cygwin.com \
    --cc=john@sybernet.ie \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).