
TARGET := ../../bin/mwcap-v4l2

SRCS := \
		videorenderbase.cpp \
		videorenderfb.cpp \
		v4l2capturedevice.cpp \
		main.cpp

CFLAGS += -Wall -Werror -g

LDFLAGS ?=

LOCAL_LDFLAGS =  -lpthread

ifneq ($(DISABLE_XCB), 1)
SRCS += videorenderxcb.cpp
LOCAL_LDFLAGS += `pkg-config --libs xcb xcb-xv`
else
CFLAGS += -DDISABLE_XCB
endif

export OS_PLATFORM
export CFLAGS
export LDFLAGS

include Makefile.end

