From db131dd7f6e5f9c222198a74b3f11e7f99f4da70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?llu=C3=ADs=20g=C3=B3mez=20i=20bigord=C3=A0?= Date: Sun, 25 May 2008 21:32:41 +0000 Subject: First svn commit svn path=/trunk/externals/pdp_opencv/; revision=9912 --- Makefile.config | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Makefile.config (limited to 'Makefile.config') diff --git a/Makefile.config b/Makefile.config new file mode 100644 index 0000000..0273e28 --- /dev/null +++ b/Makefile.config @@ -0,0 +1,25 @@ +# if configure can't find the m_pd.h header +# specify pd's include path here and ignore the warning +# +OPENCV_CPPFLAGS=-I/usr/include/opencv/ +PD_CPPFLAGS=-I/usr/src/pd-0.40-2/src +PDP_CFLAGS=-I/usr/src/pdp-0.12.5-test-7/include -DPD -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -O2 -funroll-loops -fomit-frame-pointer -ffast-math -freg-struct-return -DLINUX + +prefix=/usr/local +PDP_CV_VERSION = 0.0.1 +PDP_TARGET = linux +PDP_LIBRARY_NAME = pdp_opencv.pd_linux + +PDP_CPPFLAGS = -I. -I/usr/X11R6/include -I../include -I../../include $(PD_CPPFLAGS) $(OPENCV_CPPFLAGS) +#--gstabs + +PDP_CFLAGS += -DPDP_CV_VERSION=\"$(PDP_CV_VERSION)\" + +CC = gcc + +# build rules + +.c.o: + $(CC) $(PDP_CFLAGS) $(PDP_CPPFLAGS) -o $*.o -c $*.c +.s.o: + $(AS) -o $*.o $*.s $(PDP_AFLAGS) `pkg-config --cflags --libs opencv` -- cgit v1.2.1