diff options
author | Thomas Zander <thomas.e.zander@googlemail.com> | 2015-10-29 14:22:12 +0100 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2015-10-30 20:21:26 +1100 |
commit | c05b7babede52b00217cb514a5b1c6ba8c3d21f7 (patch) | |
tree | ed659302c327acb5159463cdb414959ce19ff024 /examples | |
parent | c9128ad6a15be274210d65fe387ebcc0e96a5075 (diff) | |
download | flac-c05b7babede52b00217cb514a5b1c6ba8c3d21f7.tar.gz |
Makefile.lite: Include config.mk from top level build dir
Makefile.lite in libs/executables subdirs must include
top level's config.mk to allow variables defined there (OS, PROC)
to be used; otherwise e.g. EXPLICIT_LIBS is not set and link
fails on Darwin.
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/c/decode/file/Makefile.lite | 2 | ||||
-rw-r--r-- | examples/c/encode/file/Makefile.lite | 2 | ||||
-rw-r--r-- | examples/cpp/decode/file/Makefile.lite | 2 | ||||
-rw-r--r-- | examples/cpp/encode/file/Makefile.lite | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/examples/c/decode/file/Makefile.lite b/examples/c/decode/file/Makefile.lite index 6371c604..c0b52e3e 100644 --- a/examples/c/decode/file/Makefile.lite +++ b/examples/c/decode/file/Makefile.lite @@ -21,6 +21,8 @@ # topdir = ../../../.. + +include $(topdir)/build/config.mk libdir = $(topdir)/objs/$(BUILD)/lib PROGRAM_NAME = example_c_decode_file diff --git a/examples/c/encode/file/Makefile.lite b/examples/c/encode/file/Makefile.lite index 1ed44e57..9bae4b9f 100644 --- a/examples/c/encode/file/Makefile.lite +++ b/examples/c/encode/file/Makefile.lite @@ -21,6 +21,8 @@ # topdir = ../../../.. + +include $(topdir)/build/config.mk libdir = $(topdir)/objs/$(BUILD)/lib PROGRAM_NAME = example_c_encode_file diff --git a/examples/cpp/decode/file/Makefile.lite b/examples/cpp/decode/file/Makefile.lite index d4821acb..fe9a31af 100644 --- a/examples/cpp/decode/file/Makefile.lite +++ b/examples/cpp/decode/file/Makefile.lite @@ -21,6 +21,8 @@ # topdir = ../../../.. + +include $(topdir)/build/config.mk libdir = $(topdir)/objs/$(BUILD)/lib PROGRAM_NAME = example_cpp_decode_file diff --git a/examples/cpp/encode/file/Makefile.lite b/examples/cpp/encode/file/Makefile.lite index 3333df7d..cc5583f8 100644 --- a/examples/cpp/encode/file/Makefile.lite +++ b/examples/cpp/encode/file/Makefile.lite @@ -21,6 +21,8 @@ # topdir = ../../../.. + +include $(topdir)/build/config.mk libdir = $(topdir)/objs/$(BUILD)/lib PROGRAM_NAME = example_cpp_encode_file |