aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorN.N. <sevyves@users.sourceforge.net>2009-09-13 15:11:36 +0000
committerN.N. <sevyves@users.sourceforge.net>2009-09-13 15:11:36 +0000
commit292ca6f2aec2ddbd3c771a53a146fde3805071b0 (patch)
treeaaf431c0b5a04c432a1407292459b4464941c2a0 /Makefile
parentc6f06840fb83c2cf43f4bb1dbe4f194d92fddbae (diff)
added configure
svn path=/trunk/externals/pdp_opencv/; revision=12329
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index eb77e47..bb8f2da 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
-PD_DIR = ../../pd
-PDP_DIR = ../pdp
+PD_DIR = /usr/local/pd
+PDP_DIR = /usr/local/pd/pdp
-GEM_OPENCV_VERSION = 0.1
+GEM_OPENCV_VERSION = 0.2
# build flags
@@ -27,8 +27,9 @@ endif
.SUFFIXES = $(EXTENSION)
SOURCES = pdp_opencv_threshold.c pdp_opencv_edge.c pdp_opencv_distrans.c pdp_opencv_laplace.c pdp_opencv_motempl.c pdp_opencv_morphology.c pdp_opencv_haarcascade.c pdp_opencv_contours_convexity.c pdp_opencv_contours_boundingrect.c pdp_opencv_bgsubstract.c pdp_opencv_lk.c pdp_opencv_floodfill.c pdp_opencv_hist_compare.c pdp_opencv_dft.c pdp_opencv_knear.cc pdp_opencv_hu_moments.c pdp_opencv_hu_compare.cc pdp_opencv_pgh_compare.cc pdp_opencv_bgstats.cc pdp_opencv_athreshold.c pdp_opencv_hough_lines.cc pdp_opencv_channels.cc pdp_opencv_hough_circles.cc pdp_opencv_camshift.cc pdp_opencv_surf.cc
+SOURCES_OPT = pdp_opencv_surf.cc
-all: $(SOURCES:.c=.$(EXTENSION)) $(SOURCES:.cc=.$(EXTENSION))
+all: $(SOURCES:.c=.$(EXTENSION)) $(SOURCES:.cc=.$(EXTENSION)) $(SOURCES_OPT:.c=.$(EXTENSION)) $(SOURCES_OPT:.cc=.$(EXTENSION))
%.$(EXTENSION): %.o
gcc $(LDFLAGS) -o $*.$(EXTENSION) $*.o $(LIBS)