Browse Source

Do not compile this stuff by default

sietch
Duke Leto 5 years ago
parent
commit
fc67008838
  1. 32
      src/cc/makecclib

32
src/cc/makecclib

@ -1,20 +1,22 @@
#!/bin/sh #!/bin/bash
rm *.so rogue/rogue games/tetris games/prices # Copyright (c) 2019 The Hush developers
echo rogue rm *.so #rogue/rogue games/tetris games/prices
make -f Makefile_rogue
./makerogue
rm ../libcc.so
cp librogue.so ../libcc.so
echo sudoku/musig/dilithium #echo rogue
gcc -O3 -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -c -o sudokucc.so cclib.cpp #make -f Makefile_rogue
#./makerogue
echo games tetris #rm ../libcc.so
./maketetris #cp librogue.so ../libcc.so
#
echo games prices #echo sudoku/musig/dilithium
./makeprices #gcc -O3 -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -c -o sudokucc.so cclib.cpp
#
#echo games tetris
#./maketetris
#
#echo games prices
#./makeprices
echo customcc stub echo customcc stub
gcc -O3 -DBUILD_CUSTOMCC -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -c -o customcc.so cclib.cpp gcc -O3 -DBUILD_CUSTOMCC -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -c -o customcc.so cclib.cpp

Loading…
Cancel
Save