Mercurial > mxe-octave
comparison src/libmodplug.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 |
comparison
equal
deleted
inserted
replaced
3011:75e142c0004b | 3012:100e618349f7 |
---|---|
18 | 18 |
19 define $(PKG)_BUILD | 19 define $(PKG)_BUILD |
20 cd '$(1)' && ./configure \ | 20 cd '$(1)' && ./configure \ |
21 --host='$(TARGET)' \ | 21 --host='$(TARGET)' \ |
22 $(ENABLE_SHARED_OR_STATIC) \ | 22 $(ENABLE_SHARED_OR_STATIC) \ |
23 --prefix='$(PREFIX)/$(TARGET)' | 23 --prefix='$(HOST_PREFIX)' |
24 $(MAKE) -C '$(1)' -j '$(JOBS)' install | 24 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
25 | 25 |
26 '$(TARGET)-gcc' \ | 26 '$(TARGET)-gcc' \ |
27 -W -Wall -ansi -pedantic \ | 27 -W -Wall -ansi -pedantic \ |
28 '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-libmodplug.exe' \ | 28 '$(2).c' -o '$(HOST_PREFIX)/bin/test-libmodplug.exe' \ |
29 `'$(TARGET)-pkg-config' libmodplug --cflags --libs` | 29 `'$(TARGET)-pkg-config' libmodplug --cflags --libs` |
30 endef | 30 endef |