comparison src/sdl_sound.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
comparison
equal deleted inserted replaced
3013:bcc26ffe9a0f 3014:b6c7244a2f66
37 --enable-flac \ 37 --enable-flac \
38 --enable-speex \ 38 --enable-speex \
39 --disable-physfs \ 39 --disable-physfs \
40 --disable-altcvt \ 40 --disable-altcvt \
41 CFLAGS='-g -O2 -fno-inline' \ 41 CFLAGS='-g -O2 -fno-inline' \
42 LIBS="`'$(TARGET)-pkg-config' vorbisfile flac speex --libs` `'$(HOST_PREFIX)/bin/libmikmod-config' --libs`" 42 LIBS="`'$(TARGET)-pkg-config' vorbisfile flac speex --libs` `'$(HOST_BINDIR)/libmikmod-config' --libs`"
43 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= 43 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
44 44
45 '$(TARGET)-gcc' \ 45 '$(TARGET)-gcc' \
46 -W -Wall -Werror -std=c99 -pedantic \ 46 -W -Wall -Werror -std=c99 -pedantic \
47 '$(2).c' -o '$(HOST_PREFIX)/bin/test-sdl_sound.exe' \ 47 '$(2).c' -o '$(HOST_BINDIR)/test-sdl_sound.exe' \
48 -lSDL_sound \ 48 -lSDL_sound \
49 `'$(TARGET)-pkg-config' sdl vorbisfile flac speex --cflags --libs` \ 49 `'$(TARGET)-pkg-config' sdl vorbisfile flac speex --cflags --libs` \
50 `'$(HOST_PREFIX)/bin/libmikmod-config' --cflags --libs` 50 `'$(HOST_BINDIR)/libmikmod-config' --cflags --libs`
51 endef 51 endef