allow specifying cascade file as cli arg. Closes #7
[ozzloy@gmail.com/oble] / Makefile
CommitLineData
b7e484d5 1
124727d2 2all: oble
b8b01547 3
4f219a9f 4PKGS = opencv x11 xext xscrnsaver
5CXXFLAGS += $(shell pkg-config --cflags $(PKGS))
6LDFLAGS += $(shell pkg-config --libs $(PKGS))
7
8OBJS = idle_x11.o oble.o
9
10idle_x11.o: idle_x11.h
11oble.o: oble.h
12
13oble: $(OBJS)
14 gcc $(LDFLAGS) -o $@ $(OBJS)
b8b01547 15
16test: all
5a96bc78 17 ./oble -c /usr/share/opencv/haarcascades/haarcascade_frontalface_alt.xml
4d640880 18
19clean:
4f219a9f 20 rm -rf oble *.o
4d640880 21
79292335 22new: clean all
23
4d640880 24.PHONY: clean
e0c48375 25