Migration from SVN

This commit is contained in:
quemy 2012-08-30 11:30:11 +02:00
commit 8cd56f37db
29069 changed files with 0 additions and 4096888 deletions

35
eo/src/pyeo/Makefile Normal file
View file

@ -0,0 +1,35 @@
# Note for however is foolish enough to attempt to build this thing
#
# You need:
# Python 2.2
# Boost.Python v2
#
CXX = g++
CPPFLAGS = -Wall -O2 #-g #-O2
LDFLAGS =
COMPILE = $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c
LINK = $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS)
INC=-I/usr/include/python2.6 -I.. -I../.. -ftemplate-depth-50
OBJECTS=eoFunctorStore.o PyEO.o abstract1.o algos.o \
random_numbers.o geneticOps.o selectOne.o continuators.o\
reduce.o replacement.o selectors.o breeders.o\
mergers.o valueParam.o perf2worth.o monitors.o\
statistics.o
LIB=../libeo.a ../utils/libeoutils.a
all: PyEO/PyEO.so
clean:
rm PyEO/*.so *.o test/*.pyc
PyEO/PyEO.so: $(OBJECTS)
$(LINK) -o PyEO/PyEO.so $(OBJECTS) -lboost_python -lpython2.6 ${LIB} -shared #-lstlport
eoFunctorStore.o: ../eoFunctorStore.h ../eoFunctorStore.cpp
$(COMPILE) -o eoFunctorStore.o ../eoFunctorStore.cpp $(INC)
%.o:%.cpp PyEO.h def_abstract_functor.h
$(COMPILE) $< $(INC)