C++ core with working memory pool
[electrum-server.git] / backends / libbitcoin / Makefile
1 CC = g++ -fPIC -Wall -ansi `pkg-config --cflags libbitcoin` -I/usr/include/python2.7 
2
3 membuf:
4         $(CC) -c membuf.cpp -o membuf.o
5         $(CC) -shared -Wl,-soname,membuf.so membuf.o -lpython2.7 -lboost_python `pkg-config --libs libbitcoin` -lboost_thread -o membuf.so
6
7 default:
8         $(CC) -c history.cpp -o history.o
9         $(CC) -shared -Wl,-soname,_history.so history.o -lpython2.7 -lboost_python `pkg-config --libs libbitcoin` -lboost_thread -o history1/_history.so
10