-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (17 loc) · 761 Bytes
/
Makefile
File metadata and controls
21 lines (17 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#all:
# g++ --shared csBigIntegerpp/src/csBigIntegerLib.cpp csBigIntegerpp/src/BigInteger.cpp -lgmp -lgmpxx -o csbiginteger/csbiginteger.so -fPIC
# test python
run:
./test_cpp.py
# export LD_LIBRARY_PATH=. && ./test.py
vendor:
@echo "trying to install GNU lgmp library (debian-based systems)"
sudo apt-get install libgmp-dev
# submodule inside submodule... don't know how to handle it here. better directly go to 'csBigInteger.cpp' project
#@echo "trying to configure libgtest on csBigIntegerpp/tests/"
#(cd csBigIntegerpp/tests/libgtest && mkdir -p build && cd build && cmake .. && make)
@echo "compiling csBigInteger.cpp portable project"
(cd csBigIntegerpp && make && cp build/*.so ../csbiginteger/)
clean:
#rm build/*.so
rm csbiginteger/*.pyc