md5crack/makefile

14 lines
285 B
Makefile
Raw Normal View History

2023-07-29 17:47:08 +00:00
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