

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

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

ifeq "$(MAKELEVEL)" "0"
SRCS = bitstreamBinaural.c  speakerConfig3d.c

SRCDIRS =  ../src
INCL    =  -I../include
INCL   += -I$(GENERALROOT)/tools/AFsp/include/libtsp
INCL   += -I$(GENERALROOT)/tools/AFsp/include
INCL   += -I$(GENERALROOT)/tools/readonlybitbuf/include
INCL   += -I$(GENERALROOT)/tools/writeonlybitbuf/include
INCL   += -I$(GENERALROOT)/tools/cicp2geometry/cicp2geometryLib/include


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

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

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

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


endif

