diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..cb8a26c --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +# Copyright 2018-2020 The Hush Developers + +all: + echo "cd dragon; make" + +clean: + rm *.o diff --git a/dragon/Makefile b/dragon/Makefile new file mode 100755 index 0000000..b922baf --- /dev/null +++ b/dragon/Makefile @@ -0,0 +1,12 @@ +# Copyright © 2018-2020 The Hush Developers + +#./configure --enable-endomorphism --enable-module-ecdh --enable-module-schnorr --enable-module-rangeproof --enable-experimental --enable-module_recovery + +clean: + rm -f ../agents/dragon *.o + +all: + $(CC) -g -fno-aggressive-loop-optimizations -Wno-deprecated -c *.c ../basilisk/basilisk.c ../gecko/gecko.c ../datachain/datachain.c + $(CC) -g -fno-aggressive-loop-optimizations -Wno-deprecated -c main.c dragon.c dragon_bundles.c ../basilisk/basilisk.c + $(CC) -g -o ../agents/dragon *.o ../agents/libcrypto555.a -lpthread -lm -lnanomsg -lcurl -lsodium + diff --git a/dragon/m_unix b/dragon/m_unix deleted file mode 100755 index ac49a47..0000000 --- a/dragon/m_unix +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -# Copyright © 2018-2020 The Hush Developers - -#./configure --enable-endomorphism --enable-module-ecdh --enable-module-schnorr --enable-module-rangeproof --enable-experimental --enable-module_recovery -rm ../agents/dragon *.o -if [[ $# -eq 0 ]]; then - git pull -fi -cd secp256k1; ./m_unix; cd .. -cd ../crypto555; ./m_unix; cd ../dragon -gcc -g -fno-aggressive-loop-optimizations -Wno-deprecated -c *.c ../basilisk/basilisk.c ../gecko/gecko.c ../datachain/datachain.c -gcc -g -fno-aggressive-loop-optimizations -Wno-deprecated -c main.c dragon.c dragon_bundles.c ../basilisk/basilisk.c -gcc -g -o ../agents/dragon *.o ../agents/libcrypto555.a -lpthread -lm -lnanomsg -lcurl -lsodium