### makefile for static library saocDecoderLib

GENERALROOT=../../../../
MAKEROOT=../

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

ifeq "$(MAKELEVEL)" "0"
SRCS = error.c saoc_bitinput.c saoc_bitstream.c saocdeclib.c saoc_decode.c \
saoc_decor.c saoc_interpolate.c saoc_kernels.c saoc_nlc_dec.c saoc_svd_tool.c\
saoc_nodes_cld.c saoc_nodes_cpc.c saoc_nodes_icc.c saoc_nodes_nrg.c saoc_nodes_old.c \
saoc_nodes_pt0.c saoc_render.c saoc_spatial_filereader.c hierChnlGrouping.c saoc_drc_lfe.c\


SRCDIRS = ../src
INCL    = -I../include \
-I../../../../modules/oamCoder/oamCommon \
-I../../../../tools/qmflib/include \
-I../../../../tools/wavIO/include \
-I../../../../tools/cicp2geometry/cicp2geometryLib/include

# DEFFLAGS #############################################################

# DEFFLAGS += 


LIB_COMLIBS = 

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

# create one absolute static archive library
OPTIONS += SHAREDLIB=-1

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

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

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

clean_all:
	@$(MAKE) TARGET=libsaocDecoder$(LIB_SUFFIX) SRCS="$(SRCS)" COMLIBS="$(LIB_COMLIBS)" clean


endif
