This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building LAPACK


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]