Browse Source

Do not anger the Elder Gods of The Build System

sietch
Duke Leto 5 years ago
parent
commit
585d9215c6
  1. 2
      src/Makefile.am
  2. 30
      src/cc/makecclib

2
src/Makefile.am

@ -719,8 +719,6 @@ clean-local:
-$(MAKE) -C secp256k1 clean
-$(MAKE) -C snark clean
-$(MAKE) -C univalue clean
# this breaks things
#-rm -f libcc.so
rm -f leveldb/*/*.gcno leveldb/helpers/memenv/*.gcno
-rm -f config.h

30
src/cc/makecclib

@ -1,22 +1,22 @@
#!/bin/bash
# Copyright (c) 2019 The Hush developers
rm *.so #rogue/rogue games/tetris games/prices
rm *.so rogue/rogue games/tetris games/prices
#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 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