adding file with related projects that might help
[ozzloy@gmail.com/oble] / Makefile
... / ...
CommitLineData
1
2all: oble
3
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)
15
16test: all
17 ./oble -c /usr/share/opencv/haarcascades/haarcascade_frontalface_alt.xml
18
19clean:
20 rm -rf oble *.o
21
22new: clean all
23
24.PHONY: clean
25