Mercurial > mxe-octave
comparison src/armadillo.mk @ 3031:951da75fd09c
improve handling of cross tool prefix
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 09 Jun 2013 09:48:08 -0400 |
parents | b6c7244a2f66 |
children | 5ef49fb3299d |
comparison
equal
deleted
inserted
replaced
3030:0d67b4c363cd | 3031:951da75fd09c |
---|---|
19 define $(PKG)_BUILD | 19 define $(PKG)_BUILD |
20 cd '$(1)' && cmake . -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' | 20 cd '$(1)' && cmake . -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' |
21 $(MAKE) -C '$(1)' -j '$(JOBS)' install VERBOSE=1 | 21 $(MAKE) -C '$(1)' -j '$(JOBS)' install VERBOSE=1 |
22 | 22 |
23 # note: don't use -Werror with GCC 4.7.0 and .1 | 23 # note: don't use -Werror with GCC 4.7.0 and .1 |
24 '$(TARGET)-g++' \ | 24 '$(MXE_CXX)' \ |
25 -W -Wall \ | 25 -W -Wall \ |
26 '$(2).cpp' -o '$(HOST_BINDIR)/test-armadillo.exe' \ | 26 '$(2).cpp' -o '$(HOST_BINDIR)/test-armadillo.exe' \ |
27 -larmadillo -llapack -lblas -lgfortran | 27 -larmadillo -llapack -lblas -lgfortran |
28 -lboost_serialization-mt -lboost_thread_win32-mt -lboost_system-mt | 28 -lboost_serialization-mt -lboost_thread_win32-mt -lboost_system-mt |
29 endef | 29 endef |