Ignore:
Timestamp:
09/08/2009 12:23:04 PM (11 years ago)
Author:
dave
Message:

added python wrap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • foam/trunk/vision/Makefile

    r96 r112  
    1515 
    1616CCFLAGS = `pkg-config --cflags opencv` -ggdb -Wall -O3 -ffast-math -Wno-unused -DTIXML_USE_STL  
     17LIBS    = `pkg-config --libs opencv`  
     18PYTHON_INCLUDE = -I/usr/include/python2.5 
    1719 
    1820CC = g++ 
     
    4547distclean:: clean 
    4648 
     49python:: ${TARGET} 
     50        swig -c++ -python src/vision.i  
     51        g++ ${CCFLAGS} -c src/vision_wrap.cxx ${PYTHON_INCLUDE} 
     52        g++ -shared ${OBJS} vision_wrap.o ${LIBS} -o _vision.so 
     53        cp _vision.so ../python 
     54        cp src/vision.py ../python 
     55         
Note: See TracChangeset for help on using the changeset viewer.