]> rtime.felk.cvut.cz Git - eurobot/public.git/blob - src/camera/barcam/Makefile.omk
Make compilation of barcol and barcam conditional
[eurobot/public.git] / src / camera / barcam / Makefile.omk
1 # -*- makefile -*-
2
3 default_CONFIG = CONFIG_BARCAM=y
4
5 ifeq ($(CONFIG_BARCAM),y)
6
7 # If OpenCV is installed in /usr/local
8 INCLUDES += -I /usr/local/include
9 LDFLAGS += -L /usr/local/lib
10
11 bin_PROGRAMS = barcam #v4l-info
12
13 #v4l-info_SOURCES = v4l-info.c struct-dump.c struct-v4l.c struct-v4l2.c
14
15 barcam_SOURCES = barcam.cxx
16 barcam_LIBS = robodim pthread roboorte robottype orte cv highgui cxcore rt z jpeg #fftw3
17
18 endif