Shailesh
8 years ago
3 changed files with 28 additions and 9 deletions
@ -1,2 +1,9 @@ |
|||||
|
#!/bin/bash |
||||
|
|
||||
|
if [[ $# -eq 0 ]]; then |
||||
git pull |
git pull |
||||
cd iguana; ./m_android; cd .. |
#cd iguana; ./m_android; cd .. |
||||
|
fi |
||||
|
echo "Compiling crypto777..." |
||||
|
$CC2 -c -O2 *.c jpeg/*.c jpeg/unix/*.c |
||||
|
rm -f ../agents/libcrypto777.a; $AR rcu ../agents/libcrypto777.a *.o |
||||
|
@ -1,8 +1,18 @@ |
|||||
|
#!/bin/bash |
||||
|
|
||||
rm ../agents/iguana *.o |
rm ../agents/iguana *.o |
||||
|
if [[ $# -eq 0 ]]; then |
||||
git pull |
git pull |
||||
cd secp256k1; ./m_unix; cd .. |
fi |
||||
$CC2 -g -Wno-deprecated -c -O2 *.c databases/iguana_DB.c |
|
||||
$CC2 -g -Wno-deprecated -c main.c iguana777.c iguana_bundles.c |
echo "Compiling libsecp256k1.a ..." |
||||
#$CC2 -g -o ../agents/iguana *.o ../agents/libcrypto777.a -lcurl -lssl -lcrypto -lpthread -lm #../includes/libsecp256k1.a -lgmp |
cd secp256k1; ./m_android; cd .. |
||||
$CC2 -g -o ../agents/iguana *.o ../agents/libcrypto777.a -lpthread -lm |
|
||||
|
#$CC2 -o ../agents/iguana -O2 *.c ../basilisk/*.c -I $NDK/platforms/android-19/arch-arm/usr/include ../agents/libcrypto777.a ../agents/libsecp256k1.a ../OSlibs/android/lib/libcurl.a -lssl -lcrypto -lm -lc -lz |
||||
|
|
||||
|
echo "Compiling iguana ... " |
||||
|
#$CC2 -o ../agents/iguana -O2 *.c ../basilisk/basilisk.c ../gecko/gecko.c ../datachain/datachain.c -I ./secp256k1/include -I $NDK/platforms/android-21/arch-arm/usr/include ../agents/libcrypto777.a ../agents/libsecp256k1.a ../OSlibs/android/lib/libcurl.a -L../OSlibs/android/lib/ -lssl -lcrypto -L$NDK/platforms/android-21/arch-arm/usr/lib -lm -lc -lz -nostdlib -lgcc |
||||
|
|
||||
|
$CC2 -g -Wno-deprecated -O2 -c *.c ../basilisk/basilisk.c ../gecko/gecko.c ../datachain/datachain.c |
||||
|
$CC2 -g -Wno-deprecated -c main.c iguana777.c iguana_bundles.c ../basilisk/basilisk.c |
||||
|
$CC2 -g -o ../agents/iguana -O2 *.o ../agents/libcrypto777.a -lm |
||||
|
@ -1 +1,3 @@ |
|||||
$CC2 -c -o ../secp256k1.o -I. -I./src -I./include -I./src -O3 -W -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings -fvisibility=hidden -DHAVE_CONFIG_H src/secp256k1.c |
#$CC -c -o ../secp256k1.o -I. -I./src -I /Newpub/android-ndk-r9b/platforms/android-19/arch-arm/usr/include -I./include -I./src -O3 -W -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings -fvisibility=hidden -DHAVE_CONFIG_H src/secp256k1.c |
||||
|
|
||||
|
$CC2 -c -o ../sec256k1.o -I. -I./src -I./include -I./src -O3 -W -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings -fvisibility=hidden -DHAVE_CONFIG_H src/secp256k1.c |
||||
|
Loading…
Reference in new issue