From f88bbe7ffd06b3b90d9d50c3bb37b3de31aeac75 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sun, 17 Jul 2016 00:26:09 +1000 Subject: Makefile: add BUILD_TYPE [debug | release] varaibles for pkg build rules --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index f86377e..5f87207 100644 --- a/Makefile +++ b/Makefile @@ -531,6 +531,8 @@ build-only-$(1)_$(3): TARGET = $(3) build-only-$(1)_$(3): BUILD_$(if $(findstring shared,$(3)),SHARED,STATIC) = TRUE build-only-$(1)_$(3): LIB_SUFFIX = $(if $(findstring shared,$(3)),dll,a) build-only-$(1)_$(3): BITS = $(if $(findstring x86_64,$(3)),64,32) +build-only-$(1)_$(3): BUILD_TYPE = $(if $(findstring debug,$(3) $($(1)_CONFIGURE_OPTS)),debug,release) +build-only-$(1)_$(3): BUILD_TYPE_SUFFIX = $(if $(findstring debug,$(3) $($(1)_CONFIGURE_OPTS)),d) build-only-$(1)_$(3): SOURCE_DIR = $(2)/$($(1)_SUBDIR) build-only-$(1)_$(3): BUILD_DIR = $(2)/$($(1)_SUBDIR).build_ build-only-$(1)_$(3): TEST_FILE = $($(1)_TEST_FILE) -- cgit v0.12