use full word "display" for variable in all places
[ozzloy@gmail.com/oble] / Makefile
CommitLineData
124727d2 1all: oble
b8b01547 2
4f219a9f 3PKGS = opencv x11 xext xscrnsaver
4CXXFLAGS += $(shell pkg-config --cflags $(PKGS))
5LDFLAGS += $(shell pkg-config --libs $(PKGS))
6
7OBJS = idle_x11.o oble.o
8
9idle_x11.o: idle_x11.h
10oble.o: oble.h
ebec7d1d 11print_screen_saver_stats.o: print_screensaver_stats.h
4f219a9f 12
026d4426 13oble: $(OBJS)
df1c989e 14 gcc $(OBJS) $(LDFLAGS) -o $@
15
16#haarcascade_frontalface_alt.xml:
17# wget http://eclecti.cc/files/2008/03/haarcascade_frontalface_alt.xml
b8b01547 18
ebec7d1d 19print_screensaver_stats: print_screensaver_stats.o
20 gcc print_screensaver_stats.o $(LDFLAGS) -o $@
21
b8b01547 22test: all
df1c989e 23 ./oble -c haarcascade_frontalface_alt.xml
4d640880 24
026d4426 25ubuntu-dependencies:
26 ./initial_oble_setup_ubuntu.bash
1ddec340 27
4d640880 28clean:
4f219a9f 29 rm -rf oble *.o
4d640880 30
79292335 31new: clean all
32
4d640880 33.PHONY: clean