From: Jerome St-Louis Date: Wed, 6 Aug 2014 23:09:02 +0000 (-0400) Subject: Makefile: Defaulting ECERE_AUDIO to n on platforms where it is not supported X-Git-Tag: 0.44.10PR2~15 X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?p=sdk;a=commitdiff_plain;h=c61d8f850615af663f457fd0ed96be91740c9c35 Makefile: Defaulting ECERE_AUDIO to n on platforms where it is not supported --- diff --git a/Makefile b/Makefile index 5b3302e..56fd5e3 100644 --- a/Makefile +++ b/Makefile @@ -18,15 +18,19 @@ XBOOT := $(if $(CROSS_TARGET),GCC_PREFIX= TARGET_PLATFORM=$(HOST_PLATFORM) PLATF LIBVER := .0.44 -ifneq "$(ECERE_AUDIO)" "n" +ifndef ECERE_AUDIO +ECERE_AUDIO := n + ifdef WINDOWS_TARGET ECERE_AUDIO := y endif ifdef LINUX_TARGET +ifndef BSD_TARGET ECERE_AUDIO := y endif endif +endif ifdef WINDOWS_HOST HOST_SOV := $(HOST_SO)