X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=Makefile;h=98e8c12f2b14203b00d28593a681b6f574ab4a82;hb=0cf99917bdeea2de56b6670c154cd2bec75dbdf7;hp=329027ca5ad1c5bc6825e44f85a69e8e5df92453;hpb=5a96bc7850a1d7bd599d1aea344b057e467ce886;p=ozzloy%40gmail.com%2Foble diff --git a/Makefile b/Makefile index 329027c..98e8c12 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,3 @@ - all: oble PKGS = opencv x11 xext xscrnsaver @@ -9,12 +8,22 @@ OBJS = idle_x11.o oble.o idle_x11.o: idle_x11.h oble.o: oble.h +print_screen_saver_stats.o: print_screensaver_stats.h oble: $(OBJS) - gcc $(LDFLAGS) -o $@ $(OBJS) + gcc $(OBJS) $(LDFLAGS) -o $@ + +#haarcascade_frontalface_alt.xml: +# wget http://eclecti.cc/files/2008/03/haarcascade_frontalface_alt.xml + +print_screensaver_stats: print_screensaver_stats.o + gcc print_screensaver_stats.o $(LDFLAGS) -o $@ test: all - ./oble -c /usr/share/opencv/haarcascades/haarcascade_frontalface_alt.xml + ./oble -c haarcascade_frontalface_alt.xml + +ubuntu-dependencies: + ./initial_oble_setup_ubuntu.bash clean: rm -rf oble *.o @@ -22,4 +31,3 @@ clean: new: clean all .PHONY: clean -