-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
30 lines (20 loc) · 1019 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
restrictions-crack: main.o encode.o decode.o crack.o fastpbkdf2.o hashtable.o linklist.o
gcc -pthread -Ofast -s -o restrictions-crack main.o encode.o decode.o crack.o fastpbkdf2.o hashtable.o linklist.o -lssl -lcrypto -lm -std=c11
restrictions-crack-test: main.o encode.o decode.o crack.o fastpbkdf2.o hashtable.o linklist.o
gcc -pthread -g -o restrictions-crack main.o encode.o decode.o crack.o fastpbkdf2.o hashtable.o linklist.o -lssl -lcrypto -lm -std=c11
main.o: main.c
gcc -c -g main.c -std=c11 -Wall -Wextra -pedantic
crack.o: crack.c crack.h
gcc -c -g crack.c -std=c11 -Wall -Wextra -pedantic
encode.o: encode.c b64.h
gcc -c -g encode.c -std=c11
decode.o: decode.c b64.h
gcc -c -g decode.c -std=c11
fastpbkdf2.o: fastpbkdf2.c fastpbkdf2.h
gcc -c -g fastpbkdf2.c -std=c11
hashtable.o: hashtable.c hashtable.h bsd_queue.h atomic_defs.h
gcc -c -g hashtable.c -std=c11
linklist.o: linklist.c linklist.h bsd_queue.h atomic_defs.h
gcc -c -g linklist.c -std=c11
clean:
rm -f *.o restrictions-crack