Makefile: Defaulting ECERE_AUDIO to n on platforms where it is not supported
authorJerome St-Louis <jerome@ecere.com>
Wed, 6 Aug 2014 23:09:02 +0000 (19:09 -0400)
committerJerome St-Louis <jerome@ecere.com>
Wed, 6 Aug 2014 23:10:54 +0000 (19:10 -0400)
Makefile

index 5b3302e..56fd5e3 100644 (file)
--- 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)