-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
32 lines (24 loc) · 798 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
default:
gcc -O3 -c sha256/sha256.c -o sha256.o
gcc -O3 -c base58/base58.c -o base58.o
gcc -O3 -c rmd160/rmd160.c -o rmd160.o
gcc -O3 -c util.c -o util.o
gcc -o mel.exe mel.c util.o sha256.o base58.o rmd160.o -lgmp
search:
gcc -O3 -c sha256/sha256.c -o sha256.o
gcc -O3 -c base58/base58.c -o base58.o
gcc -O3 -c rmd160/rmd160.c -o rmd160.o
gcc -O3 -c util.c -o util.o
gcc -o search.exe common_key.c util.o sha256.o base58.o rmd160.o
modmath:
gcc -o modmath modmath.c -lgmp
keymath:
gcc -o keymath keymath.c -lgmp
keydivision:
gcc -O3 -c sha256/sha256.c -o sha256.o
gcc -O3 -c base58/base58.c -o base58.o
gcc -O3 -c rmd160/rmd160.c -o rmd160.o
gcc -O3 -c util.c -o util.o
gcc -o keydivision keydivision.c util.o sha256.o base58.o rmd160.o -lgmp
clean:
rm -r *.o *.exe