---
milena/sandbox/anthony/opencv/Makefile | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/milena/sandbox/anthony/opencv/Makefile
b/milena/sandbox/anthony/opencv/Makefile
index e08991b..8e438f0 100644
--- a/milena/sandbox/anthony/opencv/Makefile
+++ b/milena/sandbox/anthony/opencv/Makefile
@@ -1,19 +1,20 @@
-.PHONY: cv
-
CCACHE=
-CXX=g++
+CXX=clang++
SRC=main.cpp
-LIBS=-L/opt/local/include -lopencv_highgui -lopencv_core -lopencv_features2d
-lopencv_nonfree -D_GNU_SOURCE
-OUTPUT=cv *.jpg
-CLEAN=${OUTPUT}
+LIBS=-L/usr/local/include -lopencv_highgui -lopencv_core -lopencv_features2d
-lopencv_nonfree -D_GNU_SOURCE
+OUTPUT=cv
+CLEAN=${OUTPUT} *.jpg
all: cv
cv:
- ${CCACHE} ${CXX} -O2 ${LIBS} ${SRC} -o ${OUTPUT}
+ ${CCACHE} ${CXX} -O3 ${LIBS} ${SRC} -o ${OUTPUT}
debug:
${CCACHE} ${CXX} -g -ggdb -O0 ${LIBS} ${SRC} -o ${OUTPUT}
clean:
rm -rf ${CLEAN}
+
+.PHONY: cv debug clean
+
--
1.7.10.4