cleanup. mostly notes, not code
[ozzloy@gmail.com/oble] / Makefile
index 3e0fc3ab18e410ff678a765d4f3f62d2d2852aad..7391fbda35eb0d6adb7ec3a76561b59eba955f3d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,16 @@
 
-all:
-       gcc `pkg-config --cflags opencv` -o hello-world hello-world.cpp `pkg-config --libs opencv`
+all: oble
+
+oble: oble.cpp oble.h
+       gcc `pkg-config --cflags opencv` -o oble oble.cpp `pkg-config --libs opencv`
+
+test: all
+       ./oble /usr/share/opencv/haarcascades/haarcascade_frontalface_alt.xml
+
+clean:
+       rm -rf oble
+
+new: clean all
+
+.PHONY: clean
+