delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/15/12:48:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: Robert Mecklenburg <mecklen AT comcast DOT net>
MIME-Version: 1.0
Message-ID: <16390.53780.359000.698061@gargle.gargle.HOWL>
Date: Thu, 15 Jan 2004 10:47:00 -0700
To: Jason Pearce <jason DOT pearce AT ieee DOT org>
Cc: cygwin AT cygwin DOT com
Subject: Re: bug in cygwin build of Make
In-Reply-To: <400506B3.6000902@ieee.org>
References: <400506B3 DOT 6000902 AT ieee DOT org>

JP> dir1/Makefile:
JP> --------------
JP> VARIABLE = $(shell echo $$PWD)
JP> 
JP> sources :
JP>     @echo VARIABLE set to ${VARIABLE}

The GNU make variable CURDIR is set by make to the current working
directory of the executing make.  This is probably the variable you
want.

Hope this helps,
-- 
Robert


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019