-all:
- gcc `pkg-config --cflags opencv dbus-glib-1` -o hello-world hello-world.cpp `pkg-config --libs dbus-glib-1 opencv`
+all:oble
-dbushello: dbushello.c
- gcc `pkg-config --cflags dbus-glib-1` -o dbushello dbushello.c `pkg-config --libs dbus-glib-1`
+oble:oble.cpp
+ gcc `pkg-config --cflags opencv dbus-glib-1` -o oble oble.cpp `pkg-config --libs dbus-glib-1 opencv`
+gnome-screensaver-poke: gnome-screensaver-poke.c
+ gcc `pkg-config --cflags dbus-glib-1` -o gnome-screensaver-poke gnome-screensaver-poke.c `pkg-config --libs dbus-glib-1`
test: all
- ./hello-world /usr/share/opencv/haarcascades/haarcascade_frontalface_alt.xml
+ ./oble /usr/share/opencv/haarcascades/haarcascade_frontalface_alt.xml
clean:
- rm -rf hello-world tags dbushello
+ rm -rf oble gnome-screensaver-poke
new: clean all
.PHONY: clean
+