diff options
author | N.N. <sevyves@users.sourceforge.net> | 2009-09-26 15:51:30 +0000 |
---|---|---|
committer | N.N. <sevyves@users.sourceforge.net> | 2009-09-26 15:51:30 +0000 |
commit | c63152e5b2c23ed110d65544d43e15c7f00b15da (patch) | |
tree | 9d4a1d8198b68179bd6d8e38d72772bb94eac01f /Makefile | |
parent | 6f5799761c2387ea7fe4068347f0635953c413e1 (diff) |
pgh and hu gives coordinates of detected contours
svn path=/trunk/externals/pix_opencv/; revision=12463
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,5 +1,5 @@ -PD_DIR = /usr/src/pd-svn/trunk/pd -GEM_DIR = /usr/src/pd-svn/trunk/Gem +PD_DIR = /Software/pd-svn/trunk/pd +GEM_DIR = /usr/local/pd/gem GEM_OPENCV_VERSION = 0.2 @@ -13,12 +13,14 @@ CPPFLAGS = -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math \ UNAME := $(shell uname -s) ifeq ($(UNAME),Linux) + CPPFLAGS += -DLINUX INCLUDES += `pkg-config --cflags opencv` LDFLAGS = -export_dynamic -shared LIBS = `pkg-config --libs opencv` EXTENSION = pd_linux endif ifeq ($(UNAME),Darwin) + CPPFLAGS += -DDARWIN INCLUDES += -I/System/Library/Frameworks/OpenCV.framework/Headers/ LDFLAGS = -bundle -undefined dynamic_lookup LIBS = -lm -framework OpenCV @@ -28,7 +30,7 @@ endif .SUFFIXES = $(EXTENSION) SOURCES = pix_opencv_edge.cc pix_opencv_laplace.cc pix_opencv_morphology.cc pix_opencv_distrans.cc pix_opencv_motempl.cc pix_opencv_haarcascade.cc pix_opencv_contours_boundingrect.cc pix_opencv_bgsubstract.cc pix_opencv_contours_convexity.cc pix_opencv_dft.cc pix_opencv_lk.cc pix_opencv_hist_compare.cc pix_opencv_knear.cc pix_opencv_threshold.cc pix_opencv_floodfill.cc pix_opencv_athreshold.cc pix_opencv_bgstats.cc pix_opencv_camshift.cc pix_opencv_hu_compare.cc pix_opencv_pgh_compare.cc pix_opencv_hough_circles.cc pix_opencv_hough_lines.cc pix_opencv_hu_moments.cc pix_opencv_contours_convexhull.cc pix_opencv_colorfilt.cc -SOURCES_OPT = +SOURCES_OPT = pix_opencv_surf.cc all: $(SOURCES:.cc=.$(EXTENSION)) $(SOURCES_OPT:.cc=.$(EXTENSION)) |