
include Makefile.config

USE_V4L2 = 1
TARGET = $(APP)

CPP = c++
CPPFLAGS = -std=c++11 -pg -ggdb -Wall -Werror -O0 `pkg-config --cflags gtk+-3.0 gmodule-export-2.0` -Wl,--export-dynamic -I/usr/include -DBUILD_LINUX=1
INCLUDES = 
LDFLAGS = 
LIBS = `pkg-config --libs gtk+-3.0 gmodule-export-2.0` -L/usr/lib -ljpeg -pg
OBJECTS =


#
# add makefile configuration for svbony cams 
#
ifeq ($(USE_SVBONY),1)
CPPFLAGS := $(CPPFLAGS) -I/usr/local/include
LDFLAGS := $(LDFLAGS) -lSVBCameraSDK -L/usr/local/lib `pkg-config --libs libusb-1.0`
OBJECTS := $(OBJECTS) videodev-svbcam.oo
endif
#


#
# add makefile configuration for svbony cams 
#
ifeq ($(USE_V4L2),1)
OBJECTS := $(OBJECTS) videodev-v4l2.oo
endif
#

 
