projects
/
challenge-bot
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
specify camera on command line
[challenge-bot]
/
bbb
/
opencv-hello-world
/
makefile
diff --git
a/bbb/opencv-hello-world/makefile
b/bbb/opencv-hello-world/makefile
index 91052dd96def24dafc9cf1aff9aa44b2bb28a559..88d4fa6a27c40507bc65c30fd1285b847629c691 100644
(file)
--- a/
bbb/opencv-hello-world/makefile
+++ b/
bbb/opencv-hello-world/makefile
@@
-10,7
+10,17
@@
LIBS = `pkg-config --libs opencv`
g++ $(CFLAGS) $(LIBS) -o $@ $<
all: opencv-hello-world
g++ $(CFLAGS) $(LIBS) -o $@ $<
all: opencv-hello-world
- ./opencv-hello-world
+
+1: all
+ ./opencv-hello-world 1
+ eog .
+
+0: all
+ ./opencv-hello-world 0
+ eog .
+
+clean:
+ rm image.png image-grey.png
# This file is part of challenge-bot.
# This file is part of challenge-bot.