display picture only if recognition failed
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 25 Aug 2010 19:36:16 +0000 (21:36 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 25 Aug 2010 19:36:16 +0000 (21:36 +0200)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..a2b9e42
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+grab: svv clean
+       echo "press g to grab image"
+       ./svv
+       convert -size 640x480 -depth 8 rgb:image.dat image.png
+       zbarimg image.png || qiv image.png
+
+
+svv: svv.c
+       gcc -Wall svv.c -o svv $(shell pkg-config gtk+-2.0 libv4lconvert --cflags --libs)
+
+clean:
+       rm -fv image.*