14 lines
285 B
Makefile
14 lines
285 B
Makefile
|
CC=g++
|
||
|
##g++ -o crack CrackMD5.cc ./lib/md5.cpp ./lib/sha256.cpp -pthread
|
||
|
LIBDIR=lib
|
||
|
_LIB= sha256.cpp md5.cpp
|
||
|
LIB = $(patsubst %,$(LIBDIR)/%,$(_LIB))
|
||
|
THREAD=-pthread
|
||
|
MAIN=CrackMD5.cc
|
||
|
|
||
|
crackMD5:
|
||
|
$(CC) -o crack $(MAIN) $(LIB) $(THREAD)
|
||
|
|
||
|
clean:
|
||
|
rm crack new_passwords.txt plain.txt
|