Browse Source

Do not compile this stuff by default

pull/58/head
Duke Leto 5 years ago
parent
commit
fc67008838
  1. 32
      src/cc/makecclib

32
src/cc/makecclib

@ -1,20 +1,22 @@
#!/bin/sh
rm *.so rogue/rogue games/tetris games/prices
#!/bin/bash
# Copyright (c) 2019 The Hush developers
echo rogue
make -f Makefile_rogue
./makerogue
rm ../libcc.so
cp librogue.so ../libcc.so
rm *.so #rogue/rogue games/tetris games/prices
echo sudoku/musig/dilithium
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 rogue
#make -f Makefile_rogue
#./makerogue
#rm ../libcc.so
#cp librogue.so ../libcc.so
#
#echo sudoku/musig/dilithium
#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
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