From 07078e8c144d5b0adb9b440fdf6cbf25f4bc2c66 Mon Sep 17 00:00:00 2001 From: jsteube Date: Wed, 28 Dec 2016 14:05:26 +0100 Subject: [PATCH] Added hashcat32.dll and hashcat64.dll makefile targets for building hashcat windows libraries --- docs/changes.txt | 1 + src/Makefile | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index ba9c13550..34e58e33f 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -30,6 +30,7 @@ ## Technical ## +- Building: Added hashcat32.dll and hashcat64.dll makefile targets for building hashcat windows libraries - Hardware management: Switched matching ADL device with OpenCL device by using PCI bus, device and function - Hardware management: Switched matching NVML device with OpenCL device by using PCI bus, device and function - Hardware management: Switched matching NvAPI device with OpenCL device by using PCI bus, device and function diff --git a/src/Makefile b/src/Makefile index e7d8307fe..09b6cab07 100644 --- a/src/Makefile +++ b/src/Makefile @@ -281,7 +281,7 @@ native: hashcat binaries: linux32 linux64 win32 win64 clean: - $(RM) -f obj/*.o *.bin *.exe *.restore *.out *.pot *.log hashcat hashcat_shared libhashcat.so core + $(RM) -f obj/*.o *.bin *.exe *.so *.dll *.restore *.out *.pot *.log hashcat hashcat_shared core $(RM) -rf *.induct $(RM) -rf *.outfiles $(RM) -rf *.dSYM @@ -391,3 +391,9 @@ hashcat32.exe: src/main.c $(WIN_32_OBJS) hashcat64.exe: src/main.c $(WIN_64_OBJS) $(CC_WIN_64) $(CFLAGS_CROSS_WIN64) -o $@ $^ $(LFLAGS_CROSS_WIN64) -DCOMPTIME=$(COMPTIME) -DVERSION_TAG=\"$(VERSION_TAG)\" + +hashcat32.dll: src/main.c $(WIN_32_OBJS) + $(CC_WIN_32) $(CFLAGS_CROSS_WIN32) -o $@ $^ $(LFLAGS_CROSS_WIN32) -DCOMPTIME=$(COMPTIME) -DVERSION_TAG=\"$(VERSION_TAG)\" -shared + +hashcat64.dll: src/main.c $(WIN_64_OBJS) + $(CC_WIN_64) $(CFLAGS_CROSS_WIN64) -o $@ $^ $(LFLAGS_CROSS_WIN64) -DCOMPTIME=$(COMPTIME) -DVERSION_TAG=\"$(VERSION_TAG)\" -shared