3 PKGS
= opencv x11 xext xscrnsaver
4 CXXFLAGS
+= $(shell pkg-config
--cflags $(PKGS
))
5 LDFLAGS
+= $(shell pkg-config
--libs
$(PKGS
))
7 OBJS
= idle_x11.o oble.o
11 print_screen_saver_stats.o
: print_screensaver_stats.h
14 gcc
$(OBJS
) $(LDFLAGS
) -o
$@
16 #haarcascade_frontalface_alt.xml:
17 # wget http://eclecti.cc/files/2008/03/haarcascade_frontalface_alt.xml
19 print_screensaver_stats
: print_screensaver_stats.o
20 gcc print_screensaver_stats.o
$(LDFLAGS
) -o
$@
23 .
/oble
-c haarcascade_frontalface_alt.xml
26 .
/initial_oble_setup_ubuntu.bash