aggressive screensaver [de]activation
[ozzloy@gmail.com/oble] / Makefile
index dc5f06f4b554961232a806320c91a5222db05cb2..3f6e743dbd6ef72c4337639d02df530e986f1a58 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,19 @@
 
-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
+