#######################################################################
#
# Makefile: dynamicObjectPriorityGenerator library
#
#######################################################################

# include the general makefiles using this directive
GENERALROOT=../../../../
MAKEROOT=../
-include $(GENERALROOT)/general/makefile.all

# the following directive is mandatory in order to get all local stuff into this level
ifeq "$(MAKELEVEL)" "0"


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

# DIRECTORIES ##########################################################

SRCDIRS +=  ../src ../../../../tools/wavIO/src ../../../../modules/oamCoder/oamCommon ../../../../modules/oamCoder/oamEncoder/oamEncoderLib/src \
            ../../../../modules/oamCoder/oamDecoder/src

INCL += -I../include -I../../../../tools/wavIO/include -I../../../../modules/oamCoder/oamCommon -I../../../../modules/oamCoder/oamEncoder/oamEncoderLib/include -I../../../../modules/oamCoder/oamDecoder/src



# SOURCES ##############################################################

SRCS = DynamicObjectPriorityGeneratorlib.c wavIO.c oam_common.c oam_read.c



# SUMMARIZE VARIABLES ##################################################
OPTIONS  += SRCDIRS="$(SRCDIRS)" INCL="$(INCL)" INCLDEP=1 DEFFLAGS="$(DEFFLAGS)"


# MAKEFILE RULES AND DEPENDENCIES ######################################
# the first rule `all' has to depend from makefile.all
all: $(GENERALROOT)/general/makefile.all libDynamicObjectPriorityGenerator$(LIB_SUFFIX)

libDynamicObjectPriorityGenerator$(LIB_SUFFIX):
	@$(MAKE) -f Makefile TARGET=$@ $(OPTIONS)  SRCS="$(SRCS)" COMLIBS="$(LIB_COMLIBS)" CFLAGS="$(CFLAGS)" library

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

endif

