From fc6700883814ad0f8f0db3614e1fc70cb410ab5a Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sun, 22 Dec 2019 05:00:17 -0500 Subject: [PATCH] Do not compile this stuff by default --- src/cc/makecclib | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/src/cc/makecclib b/src/cc/makecclib index e4816c55c..9690f86e0 100755 --- a/src/cc/makecclib +++ b/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