diff options
author | Tony Theodore <tonyt@logyst.com> | 2012-05-01 16:31:25 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2012-05-01 16:31:25 (GMT) |
commit | ae7bd20d37d539dc35a2d9b549320321a1802264 (patch) | |
tree | e6b606d21fad5473669470bf822c5ba1fdfd772f /src/lapack.mk | |
parent | ae7b6c23c1c626e0f30608d6cb91607c4184dbaf (diff) | |
download | mxe-ae7bd20d37d539dc35a2d9b549320321a1802264.zip mxe-ae7bd20d37d539dc35a2d9b549320321a1802264.tar.gz mxe-ae7bd20d37d539dc35a2d9b549320321a1802264.tar.bz2 |
package lapack: use $(TARGET)-ranlib and add test program
Diffstat (limited to 'src/lapack.mk')
-rw-r--r-- | src/lapack.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lapack.mk b/src/lapack.mk index 28edd27..54aa0fd 100644 --- a/src/lapack.mk +++ b/src/lapack.mk @@ -20,6 +20,12 @@ define $(PKG)_BUILD cd '$(1)' && cmake \ -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ -DCMAKE_AR='$(PREFIX)/bin/$(TARGET)-ar' \ + -DCMAKE_RANLIB='$(PREFIX)/bin/$(TARGET)-ranlib' \ . $(MAKE) -C '$(1)/SRC' -j '$(JOBS)' install + + '$(TARGET)-gfortran' \ + -W -Wall -Werror -pedantic \ + '$(2).f' -o '$(PREFIX)/$(TARGET)/bin/test-lapack.exe' \ + -llapack endef |