aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in58
1 files changed, 0 insertions, 58 deletions
diff --git a/Makefile.in b/Makefile.in
deleted file mode 100644
index ad8b4eb..0000000
--- a/Makefile.in
+++ /dev/null
@@ -1,58 +0,0 @@
-PD_DIR = @PD_DIR@
-GEM_DIR = @GEM_DIR@
-
-GEM_OPENCV_VERSION = @GEM_OPENCV_VERSION@
-
-# build flags
-
-INCLUDES = -I$(PD_DIR)/src -I. -I$(GEM_DIR)/src -I$(PD_DIR)/src
-CPPFLAGS = -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math \
- -Wall -W -Wno-unused -Wno-parentheses -Wno-switch \
- -DGEM_OPENCV_VERSION=\"$(GEM_OPENCV_VERSION)\" -g
-
-
-UNAME := $(shell uname -s)
-ifeq ($(UNAME),Linux)
- CPPFLAGS += -DLINUX
- INCLUDES += -I/usr/include/Gem `pkg-config --cflags opencv`
- LDFLAGS = -Wl,--export-dynamic -shared
- LIBS = `pkg-config --libs opencv`
- EXTENSION = pd_linux
- SOURCES_OPT = @SOURCES_OPT@
- OPENCV_VERSION = `pkg-config --modversion opencv`
-endif
-ifeq ($(UNAME),Darwin)
- INCLUDES += -I/Library/Frameworks/OpenCV.framework/Headers/ -I/Applications/Pd-extended.app/Contents/Resources/include/Gem -I/Applications/Pd-extended.app/Contents/Resources/include/pd -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 pix_opencv_calibration.cc pix_opencv_warpperspective.cc pix_opencv_findchessboardcorners.cc pix_opencv_blobtrack.cc pix_opencv_contours.cc pix_opencv_matchshape.cc
-
-all: $(SOURCES:.cc=.$(EXTENSION)) $(SOURCES_OPT:.cc=.$(EXTENSION))
-
-%.$(EXTENSION): %.o
- gcc $(LDFLAGS) -o $*.$(EXTENSION) $*.o $(LIBS)
-
-.cc.o:
- g++ $(CPPFLAGS) $(INCLUDES) -o $*.o -c $*.cc
-
-.c.o:
- gcc $(CPPFLAGS) $(INCLUDES) -o $*.o -c $*.c
-
-install:
- cp -f --remove-destination *.pd $(PD_DIR)/doc/5.reference
-
-clean:
- rm -f pix_opencv*.o
- rm -f pix_opencv*.$(EXTENSION)
-
-distro: clean all
- rm *.o
-
-template:
- g++ $(CPPFLAGS) $(INCLUDES) -o pix_opencv_template.o -c pix_opencv_template.cpp