Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <00c301c2d079$614e3210$78d96f83@pomello>
From: "Max Bowsher" <maxb@ukf.net>
To: "Erin Catto" <erincatto@yahoo.com>, <cygwin@cygwin.com>
References: <20030209195317.83608.qmail@web20004.mail.yahoo.com>
Subject: Re: Building LAPACK
Date: Sun, 9 Feb 2003 20:25:25 -0000
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Erin Catto wrote:
> I'm having trouble building LAPACK. I downloaded
> lapack.tgz from www.netlib.org/lapack. I'm using
> make.inc.LINUX for make.inc. I type
>
> make install
>
> and make says that install is up to date but it is
> not! I have done the same operation on Linux and it
> works.
>
> Here is the install section of Makefile:
>
> install:
> ( cd INSTALL; $(MAKE); ./testlsame; ./testslamch; \
>   ./testdlamch; ./testsecond; ./testdsecnd; \
>   cp lsame.f ../BLAS/SRC/; cp lsame.f ../SRC; \
>   cp slamch.f ../SRC/; cp dlamch.f ../SRC/; \
>   cp second.f ../SRC/; cp dsecnd.f ../SRC/ )

First things first: You are doing "make" before "make install", yes?
Otherwise you are depending on the whim of the Makefile author for exactly
what happens.

Short answer:  Add ".PHONY: install" to the makefile

Long answer: make sees the INSTALL directory, and concludes that it is up to
date, since it has no dependencies. You've just been bitten my Windows'
case-insensitivity.


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/

