X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type
	:content-transfer-encoding; q=dns; s=default; b=dL5a3xU6qVemdSJ+
	XiVtj0rNcCLr64KZuB1ytrFz9Y7Tq2uKPJTRGo19kLmORiZ+v9D1NIyqQ4y2lhaA
	/CevT2DP7clquWgW366WoEP+BSDD72TX3b38yCO+L49z/zPzQqhyLgfsyHHRual8
	iO9b8Ex3GueOtgHm/WPwfpUvHvo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type
	:content-transfer-encoding; s=default; bh=3DNf0fajDa9GkPxnS4cSq3
	9JWyE=; b=AG/6jqQEHNrE8wl7WUC+rumCSqYUO2r1j+WLZeyexYGaPjLkBm8V78
	Xh3IO5WVGfXPgFftFAaq4iLCyn/H+2lTMCbPKQ/g4vsdjN2Do/K9SCRj3f6Qn9VR
	J1+ZITiKsbmPpW5WX2gEZ+RH+yoIt3GD3mPs/sZPYhd3GEDwEynSw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-we0-f181.google.com
MIME-Version: 1.0
X-Received: by 10.194.85.75 with SMTP id f11mr615734wjz.47.1392886242292; Thu, 20 Feb 2014 00:50:42 -0800 (PST)
In-Reply-To: <4A133311B01A1E4DB317E75C825F469C1E29F8FE@BBYEXM01.pmc-sierra.internal>
References: <4A133311B01A1E4DB317E75C825F469C1E29F8FE@BBYEXM01.pmc-sierra.internal>
Date: Thu, 20 Feb 2014 09:50:42 +0100
Message-ID: <CAEhDDbCUDyBQKymPG0PUxQ+Es_rVSiWVeQArm0KYOsc7WwsKSg@mail.gmail.com>
Subject: Re: cygwin make reporting "multiple target patterns" issue
From: Csaba Raduly <rcsaba@gmail.com>
To: cygwin list <cygwin@cygwin.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s1K8ox05020026

Hi Eddie,

On Wed, Feb 19, 2014 at 9:41 PM, Eddie Wang  wrote:
> Hi Team,
>
> I can build project OK with "make" command but failed on second build without running "make clean". Checked with web and noticed that removing previously create obj directory will resolve the issue. However, this is not the solution for make command. If only one file is changed, second build should carry on to recompile this changed file only. This will save a lot of time for not rebuild everything from scratch.

This is almost certainly a make issue and not a Cygwin problem. You
are likely to get the same result on any platform if you use GNU make
(which is what Cygwin's make is).

You didn't tell us what the project is, didn't show the makefile,
didn't report the exact error message. This makes it all but
impossible to help you any further.

I suspect the makefile is composing a list of files dynamically and
gets it wrong, but that's just a guess.

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

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


