| 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-Tcl interface is available here |
| 11 |
# http://www.swig.org/Doc1.3/Tcl.html#Tcl |
| 12 |
|
| 13 |
all: |
| 14 |
swig -c++ -tcl biosig.i |
| 15 |
gcc -fPIC -c biosig_wrap.cxx -I/usr/include/tcl |
| 16 |
gcc -shared biosig_wrap.o ../libbiosig.so -o biosig.so |
| 17 |
|
| 18 |
clean: |
| 19 |
-rm *.cxx |
| 20 |
-rm *.o |
| 21 |
-rm *.so |