summaryrefslogtreecommitdiff
path: root/v4l2-apps/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'v4l2-apps/test/Makefile')
-rw-r--r--v4l2-apps/test/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/v4l2-apps/test/Makefile b/v4l2-apps/test/Makefile
index d118b9210..71eaa77cf 100644
--- a/v4l2-apps/test/Makefile
+++ b/v4l2-apps/test/Makefile
@@ -7,6 +7,7 @@ binaries = ioctl-test \
sliced-vbi-detect \
vbi-test \
v4lgrab \
+ v4l2grab \
driver-test \
pixfmt-test \
stress-buffer \
@@ -24,9 +25,15 @@ install:
../libv4l2util/libv4l2util.a: ../libv4l2util/v4l2_driver.c ../libv4l2util/frequencies.c
make -C ../libv4l2util libv4l2util.a
+../libv4l/libv4l2/libv4l2.so:
+ make -C ../libv4l/
+
driver-test: driver-test.o ../libv4l2util/libv4l2util.a
pixfmt-test: pixfmt-test.o
$(CC) $(LDFLAGS) $^ $(LOADLIBES) $(LDLIBS) -o $@ -lX11
+v4l2grab: v4l2grab.o
+ $(CC) $(LDFLAGS) $^ -o $@ ../libv4l/libv4l2/libv4l2.so
+
include ../Make.rules