delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <2153954E5F82D411954300D0B782FD040183015E@ILEXCH1> |
From: | Moti Daniel <motid AT p-cube DOT com> |
To: | "'Max Bowsher'" <maxb AT ukf DOT net> |
Cc: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
Subject: | RE: Question/bug? : Make and tab problem since version 1.3.16... |
Date: | Sun, 1 Dec 2002 08:00:55 +0200 |
MIME-Version: | 1.0 |
2 fixes to the line, it should be: sometarget: <tab> $(shell echo -e '$(VAR1)' >> $@) this $(shell... makes a file called "somefile", in it you will see: " a.o:a.c <tab> cc $@ " I'm including this sometarget in the makefile thus extending it "on the fly", believe me it works ! -----Original Message----- From: Max Bowsher [mailto:maxb AT ukf DOT net] Sent: Wednesday, November 27, 2002 7:38 PM To: Moti Daniel; cygwin AT cygwin DOT com Subject: Re: Question/bug? : Make and tab problem since version 1.3.16... Moti Daniel <motid AT p-cube DOT com> wrote: > After upgrading cygwin dll to 1.3.16 from 1.3.12 I had the following > problem: > I'm using cygwin to build my project, in my makefile I'm creating > another makefile like this: > VAR1=a.o : a.c\n\tcc $$@ > . > . > . > sometarget : > $(shell echo -e '$(VAR1)' >> somefile > > before the upgrade this produced somefile with this lines in it: > a.o : a.c > <TAB> cc $@ I find that hard to believe. With that $(shell... in there, make tries to run a program 'a.o'. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |