#######################################################################
#
# Makefile: parDecorrelator Library
#
#######################################################################

CXX11=1#  # Removes -ansi and adds std=c++0x to CFLAGS
GENERALROOT=../../../
MAKEROOT=../

-include $(GENERALROOT)/general/makefile.all

ifeq "$(MAKELEVEL)" "0"

SRCS += parDecorrFilter.cpp par_decorr.cpp
SRCDIRS += ../src
INCL += -I../include -I../../../modules/hoaCoder/common/include 

OPTIONS = SRCDIRS="$(SRCDIRS)" INCL="$(INCL)" INCLDEP=1 DEFFLAGS="$(DEFFLAGS)"

all: $(GENERALROOT)/general/makefile.all libparDecorrelator$(LIB_SUFFIX)

libparDecorrelator$(LIB_SUFFIX):
	@$(MAKE) TARGET=$@ $(OPTIONS) SRCS="$(SRCS)" COMLIBS="$(LIB_COMLIBS)" library

clean:
	@$(MAKE) TARGET=libparDecorrelator$(LIB_SUFFIX) SRCS="$(SRCS)" clean


endif

