| 1 |
####### Makefile for "BioSig for C/C++" ##################### |
| 2 |
### |
| 3 |
### $Id: Makefile 2526 2010-08-27 21:46:28Z schloegl $ |
| 4 |
### Copyright (C) 2010 Alois Schloegl <[email protected]> |
| 5 |
### This file is part of the "BioSig for C/C++" repository |
| 6 |
### (biosig4c++) at http://biosig.sf.net/ |
| 7 |
### |
| 8 |
############################################################## |
| 9 |
|
| 10 |
# More information on SWIG-Perl interface is available here |
| 11 |
# http://www.swig.org/Doc1.3/Perl5.html#Perl5 |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
all: |
| 16 |
swig -c++ -perl biosig.i |
| 17 |
g++ -fPIC -c biosig_wrap.cxx -I/usr/lib/perl/5.10.1/CORE -Dbool=char |
| 18 |
g++ -shared ../libbiosig.so biosig_wrap.o -o biosig.so |
| 19 |
|
| 20 |
clean: |
| 21 |
-rm *.cxx |
| 22 |
-rm *.o |
| 23 |
-rm *.pm |
| 24 |
-rm *.so |