diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-09-20 17:02:40 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-09-20 17:02:40 +0000 |
commit | 02a8491e97279e86a420fa39f29ae778aca8a471 (patch) | |
tree | 18cc4f30c11a76f959aa7506627ca75bf37e0b6a /Makefile.in | |
parent | 0349f8ddc12fcbc7fa3c6be925c038ef528e7c92 (diff) |
build tweaks for Mac OS X
svn path=/trunk/externals/pix_opencv/; revision=14165
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index c3f54e9..c85978c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -15,22 +15,22 @@ UNAME := $(shell uname -s) ifeq ($(UNAME),Linux) CPPFLAGS += -DLINUX INCLUDES += `pkg-config --cflags opencv` - LDFLAGS = -export_dynamic -shared + LDFLAGS = -Wl,--export-dynamic -shared LIBS = `pkg-config --libs opencv` EXTENSION = pd_linux + SOURCES_OPT = @SOURCES_OPT@ endif ifeq ($(UNAME),Darwin) - CPPFLAGS += -DDARWIN - INCLUDES += -I/Library/Frameworks/OpenCV.framework/Headers/ + INCLUDES += -I/Library/Frameworks/OpenCV.framework/Headers/ -I/Applications/Pd-extended.app/Contents/Resources/include/pdextended -I/Applications/Pd-extended.app/Contents/Resources/include/ LDFLAGS = -bundle -undefined dynamic_lookup LIBS = -lm -framework OpenCV EXTENSION = pd_darwin + SOURCES_OPT = pix_opencv_surf.cc 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 pix_opencv_of_bm.cc pix_opencv_of_hs.cc pix_opencv_of_lk.cc -SOURCES_OPT = @SOURCES_OPT@ all: $(SOURCES:.cc=.$(EXTENSION)) $(SOURCES_OPT:.cc=.$(EXTENSION)) |