From 78dd206bf248a89322fb400c8a8d1c3b711d3476 Mon Sep 17 00:00:00 2001 From: philsmd Date: Sat, 27 Jun 2020 12:37:48 +0200 Subject: [PATCH 1/2] Makefile: update clean/distclean targets --- src/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/Makefile b/src/Makefile index 1616700f2..1008bd228 100644 --- a/src/Makefile +++ b/src/Makefile @@ -354,24 +354,27 @@ default: $(HASHCAT_FRONTEND) modules clean: $(RM) -f $(HASHCAT_FRONTEND) $(RM) -f $(HASHCAT_LIBRARY) - $(RM) -rf modules/*.dSYM + $(RM) -f modules/*.dSYM $(RM) -f modules/*.dll $(RM) -f modules/*.so $(RM) -f obj/*/*/*.o $(RM) -f obj/*.o $(RM) -f obj/*.a + $(RM) -f *.dSYM + $(RM) -f *.dylib $(RM) -f *.bin *.exe $(RM) -f *.pid - $(RM) -f *.restore $(RM) -f *.log $(RM) -f core $(RM) -rf *.induct $(RM) -rf *.outfiles - $(RM) -rf *.dSYM $(RM) -rf kernels distclean: clean - $(RM) -f *.restore *.pot *.out *.log + $(RM) -f *.restore + $(RM) -f *.potfile + $(RM) -f *.out + $(RM) -rf test_[0-9]*/ ## ## Targets: Linux install From 570d0ac0904dee5b8f408104981599c1d7d7e7c1 Mon Sep 17 00:00:00 2001 From: philsmd <921533+philsmd@users.noreply.github.com> Date: Wed, 1 Jul 2020 10:45:38 +0200 Subject: [PATCH 2/2] Makefile: added .dictstat2, brain files and luks_tests to the distclean target --- src/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 1008bd228..1d69cdd7c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -374,7 +374,10 @@ distclean: clean $(RM) -f *.restore $(RM) -f *.potfile $(RM) -f *.out - $(RM) -rf test_[0-9]*/ + $(RM) -f hashcat.dictstat2 + $(RM) -f brain.* + $(RM) -rf test_[0-9]* + $(RM) -rf tools/luks_tests ## ## Targets: Linux install