diff src/sdl_mixer.mk @ 3014:b6c7244a2f66

Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
author John W. Eaton <jwe@octave.org>
date Sun, 02 Jun 2013 16:59:24 -0400
parents bcc26ffe9a0f
children 951da75fd09c
line wrap: on
line diff
--- a/src/sdl_mixer.mk	Sun Jun 02 12:40:32 2013 -0400
+++ b/src/sdl_mixer.mk	Sun Jun 02 16:59:24 2013 -0400
@@ -20,7 +20,7 @@
     echo \
         'Libs.private:' \
         "`$(TARGET)-pkg-config libmodplug --libs`" \
-        "`$(HOST_PREFIX)/bin/smpeg-config     --libs`" \
+        "`$(HOST_BINDIR)/smpeg-config     --libs`" \
         >> '$(1)/SDL_mixer.pc.in'
     $(SED) -i 's,for path in /usr/local; do,for path in; do,' '$(1)/configure'
     cd '$(1)' && ./configure \
@@ -45,6 +45,6 @@
 
     '$(TARGET)-gcc' \
         -W -Wall -Werror -ansi -pedantic \
-        '$(2).c' -o '$(HOST_PREFIX)/bin/test-sdl_mixer.exe' \
+        '$(2).c' -o '$(HOST_BINDIR)/test-sdl_mixer.exe' \
         `'$(TARGET)-pkg-config' SDL_mixer --cflags --libs`
 endef