
### makefile for binary sceneDisplacementInterfaceExample
### simone.fueg@iis.fraunhofer.de , 2016/04/01

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

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

ifeq "$(MAKELEVEL)" "0"
SRCS = sceneDisplacementInterfaceCmdl.c

SRCDIRS = ../src
INCL    = -I../include
INCL   += -I../../sceneDisplacementInterfaceLib/include



ifeq "$(DEBUG)" "1"
DEFFLAGS += -DDEBUG
endif

ifeq "$(DEBUG)" "0"
DEFFLAGS += -DNDEBUG
endif

COMLIBS += -lsceneDisplacementInterface 

OPTIONS = SRCDIRS="$(SRCDIRS)" INCL="$(INCL)" INCLDEP=1 DEFFLAGS="$(DEFFLAGS)"
#OPTIONS  = SRCDIRS="$(SRCDIRS)" INCL="$(INCL)" LIBPATH="$(LIBPATH)" INCLDEP=1 DEFFLAGS="$(DEFFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" SYSLIBS="$(SYSLIBS)" PLOT="$(PLOT)" GPROF="$(GPROF)" GLOBOPTS="$(GLOBOPTS)"

all: $(GENERALROOT)/general/makefile.all sceneDisplacementInterfaceExample

# Copy the following rule identically for the first time checkout


sceneDisplacementInterfaceExample:
	@$(MAKE) TARGET=$@ $(OPTIONS) SRCS="$(SRCS)" COMLIBS="$(COMLIBS)" binary

clean:
	@$(MAKE) TARGET=sceneDisplacementInterfaceExample SRCS="$(SRCS)" clean

clean_all:
	@$(MAKE) TARGET=sceneDisplacementInterfaceExample SRCS="$(SRCS)" COMLIBS="$(COMLIBS)" clean

endif

