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>
This commit is contained in:
Thomas Zander
2015-10-29 14:22:12 +01:00
committed by Erik de Castro Lopo
parent c9128ad6a1
commit c05b7babed
12 changed files with 24 additions and 0 deletions

View File

@@ -21,6 +21,8 @@
# #
topdir = ../../../.. topdir = ../../../..
include $(topdir)/build/config.mk
libdir = $(topdir)/objs/$(BUILD)/lib libdir = $(topdir)/objs/$(BUILD)/lib
PROGRAM_NAME = example_c_decode_file PROGRAM_NAME = example_c_decode_file

View File

@@ -21,6 +21,8 @@
# #
topdir = ../../../.. topdir = ../../../..
include $(topdir)/build/config.mk
libdir = $(topdir)/objs/$(BUILD)/lib libdir = $(topdir)/objs/$(BUILD)/lib
PROGRAM_NAME = example_c_encode_file PROGRAM_NAME = example_c_encode_file

View File

@@ -21,6 +21,8 @@
# #
topdir = ../../../.. topdir = ../../../..
include $(topdir)/build/config.mk
libdir = $(topdir)/objs/$(BUILD)/lib libdir = $(topdir)/objs/$(BUILD)/lib
PROGRAM_NAME = example_cpp_decode_file PROGRAM_NAME = example_cpp_decode_file

View File

@@ -21,6 +21,8 @@
# #
topdir = ../../../.. topdir = ../../../..
include $(topdir)/build/config.mk
libdir = $(topdir)/objs/$(BUILD)/lib libdir = $(topdir)/objs/$(BUILD)/lib
PROGRAM_NAME = example_cpp_encode_file PROGRAM_NAME = example_cpp_encode_file

View File

@@ -21,6 +21,8 @@
# #
topdir = ../.. topdir = ../..
include $(topdir)/build/config.mk
libdir = $(topdir)/objs/$(BUILD)/lib libdir = $(topdir)/objs/$(BUILD)/lib
PROGRAM_NAME = flac PROGRAM_NAME = flac

View File

@@ -21,6 +21,8 @@
# #
topdir = ../.. topdir = ../..
include $(topdir)/build/config.mk
libdir = $(topdir)/objs/$(BUILD)/lib libdir = $(topdir)/objs/$(BUILD)/lib
PROGRAM_NAME = metaflac PROGRAM_NAME = metaflac

View File

@@ -21,6 +21,8 @@
# #
topdir = ../../.. topdir = ../../..
include $(topdir)/build/config.mk
libdir = $(topdir)/objs/$(BUILD)/lib libdir = $(topdir)/objs/$(BUILD)/lib
PROGRAM_NAME = test_cuesheet PROGRAM_NAME = test_cuesheet

View File

@@ -21,6 +21,8 @@
# #
topdir = ../../.. topdir = ../../..
include $(topdir)/build/config.mk
libdir = $(topdir)/objs/$(BUILD)/lib libdir = $(topdir)/objs/$(BUILD)/lib
PROGRAM_NAME = test_picture PROGRAM_NAME = test_picture

View File

@@ -21,6 +21,8 @@
# #
topdir = ../.. topdir = ../..
include $(topdir)/build/config.mk
libdir = $(topdir)/objs/$(BUILD)/lib libdir = $(topdir)/objs/$(BUILD)/lib
PROGRAM_NAME = test_libFLAC++ PROGRAM_NAME = test_libFLAC++

View File

@@ -21,6 +21,8 @@
# #
topdir = ../.. topdir = ../..
include $(topdir)/build/config.mk
libdir = $(topdir)/objs/$(BUILD)/lib libdir = $(topdir)/objs/$(BUILD)/lib
PROGRAM_NAME = test_libFLAC PROGRAM_NAME = test_libFLAC

View File

@@ -21,6 +21,8 @@
# #
topdir = ../.. topdir = ../..
include $(topdir)/build/config.mk
libdir = $(topdir)/objs/$(BUILD)/lib libdir = $(topdir)/objs/$(BUILD)/lib
PROGRAM_NAME = test_seeking PROGRAM_NAME = test_seeking

View File

@@ -21,6 +21,8 @@
# #
topdir = ../.. topdir = ../..
include $(topdir)/build/config.mk
libdir = $(topdir)/objs/$(BUILD)/lib libdir = $(topdir)/objs/$(BUILD)/lib
PROGRAM_NAME = test_streams PROGRAM_NAME = test_streams