public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Marco van de Voort" <marcov@stack.nl>
To: Tadeusz Liszka <tad@comco.com>
Cc: cygwin@cygwin.com
Subject: Re: makefile that doesn't work
Date: Fri, 23 Feb 2001 13:34:00 -0000	[thread overview]
Message-ID: <3A96E572.27412.1CB0D52@localhost> (raw)
In-Reply-To: <3A96D4A9.E406F3ED@comco.com>

> I modified your makefile to print some intermediate results. See below for
> the comments on how the makefile works. To find the problem type:
> 	which pwd
> or
> 	which pwd.exe
> in the bash shell (or find it manually if this fails).
> 
> My guess is that the $PATH variable is not correct (I recall that on
> Windows it may have Path PATH and path and it somehow concatenates them
> together

(we already found a workaround). The problem is the different path 
separator (';' vs':')  in the path env.
 
> However for me this single line works and does the same as all your lines
> BASEDIR1 := $(shell pwd)
> 
> Your code goes long way around to have the same result, and obviously it
> fails in some situations.

> If you do not know much about make :-) then make sure that the lines with
> 'echo' start with TAB, not space

:-) I'm not that bad.
  
Thanks. This looks cleaner than the solution one of our members 
came up with, and we'll start some testing on the different targets to 
see what is best.



Marco van de Voort (MarcoV@Stack.nl or marco@freepascal.org)



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

      reply	other threads:[~2001-02-23 13:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-19  4:54 Marco van de Voort
2001-02-23 13:23 ` Tadeusz Liszka
2001-02-23 13:34   ` Marco van de Voort [this message]

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=3A96E572.27412.1CB0D52@localhost \
    --to=marcov@stack.nl \
    --cc=cygwin@cygwin.com \
    --cc=tad@comco.com \
    /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).