Mercurial > mxe-octave
diff src/qwt.mk @ 3012:100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
BUILD_TOOLS_PREFIX variables in top-level Makefile.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 02 Jun 2013 10:31:04 -0400 |
parents | d4fbd818a248 |
children | b6c7244a2f66 |
line wrap: on
line diff
--- a/src/qwt.mk Sat Jun 01 20:52:09 2013 -0400 +++ b/src/qwt.mk Sun Jun 02 10:31:04 2013 -0400 @@ -18,13 +18,13 @@ define $(PKG)_BUILD # build - cd '$(1)/src' && $(PREFIX)/bin/$(TARGET)-qmake + cd '$(1)/src' && $(BUILD_TOOLS_PREFIX)/bin/$(TARGET)-qmake $(MAKE) -C '$(1)/src' -f 'Makefile.Release' -j '$(JOBS)' install #build sinusplot example to test linkage - cd '$(1)/examples/sinusplot' && $(PREFIX)/bin/$(TARGET)-qmake + cd '$(1)/examples/sinusplot' && $(BUILD_TOOLS_PREFIX)/bin/$(TARGET)-qmake $(MAKE) -C '$(1)/examples/sinusplot' -f 'Makefile.Release' -j '$(JOBS)' # install - $(INSTALL) -m755 '$(1)/examples/bin/sinusplot.exe' '$(PREFIX)/$(TARGET)/bin/test-qwt.exe' + $(INSTALL) -m755 '$(1)/examples/bin/sinusplot.exe' '$(HOST_PREFIX)/bin/test-qwt.exe' endef