Browse Source

Refs #106. Fixed wget and md5 bug on FreeBSD and NetBSD.

tags/v0.2.0^2
Zhang Xianyi 13 years ago
parent
commit
06e208c5c3
2 changed files with 10 additions and 1 deletions
  1. +2
    -1
      Makefile
  2. +8
    -0
      Makefile.system

+ 2
- 1
Makefile View File

@@ -256,7 +256,8 @@ LAPACK_URL=http://www.netlib.org/lapack/lapack-3.4.1.tgz

lapack-3.4.1.tgz :
ifndef NOFORTRAN
ifeq ($(OSNAME), Darwin)
#http://stackoverflow.com/questions/7656425/makefile-ifeq-logical-or
ifeq ($(OSNAME), $(filter $(OSNAME),Darwin FreeBSD NetBSD))
curl -O $(LAPACK_URL)
else
wget $(LAPACK_URL)


+ 8
- 0
Makefile.system View File

@@ -108,6 +108,14 @@ export MACOSX_DEPLOYMENT_TARGET=10.2
MD5SUM = md5 -r
endif

ifeq ($(OSNAME), FreeBSD)
MD5SUM = md5 -r
endif

ifeq ($(OSNAME), NetBSD)
MD5SUM = md5 -r
endif

ifeq ($(OSNAME), Linux)
EXTRALIB += -lm
endif


Loading…
Cancel
Save