Mercurial > mxe-octave
diff src/smpeg.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 | 47558e958113 |
children | bcc26ffe9a0f |
line wrap: on
line diff
--- a/src/smpeg.mk Sat Jun 01 20:52:09 2013 -0400 +++ b/src/smpeg.mk Sun Jun 02 10:31:04 2013 -0400 @@ -23,8 +23,8 @@ --host='$(TARGET)' \ $(ENABLE_SHARED_OR_STATIC) \ --disable-debug \ - --prefix='$(PREFIX)/$(TARGET)' \ - --with-sdl-prefix='$(PREFIX)/$(TARGET)' \ + --prefix='$(HOST_PREFIX)' \ + --with-sdl-prefix='$(HOST_PREFIX)' \ --disable-sdltest \ --disable-gtk-player \ --disable-opengl-player \ @@ -33,6 +33,6 @@ '$(TARGET)-gcc' \ -W -Wall -Werror -std=c99 -pedantic \ - '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-smpeg.exe' \ - `'$(PREFIX)/$(TARGET)/bin/smpeg-config' --cflags --libs` + '$(2).c' -o '$(HOST_PREFIX)/bin/test-smpeg.exe' \ + `'$(HOST_PREFIX)/bin/smpeg-config' --cflags --libs` endef