diff --git a/.gitignore b/.gitignore index ae8910f9f..7e3ec285f 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ hashcat.dll *.pot *.pid *.log +*.out *.dSYM kernels/** lib/*.a diff --git a/src/Makefile b/src/Makefile index f6dbe42c8..3690c23b3 100644 --- a/src/Makefile +++ b/src/Makefile @@ -276,12 +276,15 @@ WIN_64_OBJS := $(foreach OBJ,$(OBJS_ALL),obj/$(OBJ).WIN.64.o) default: $(HASHCAT_FRONTEND) clean: - $(RM) -f obj/*.o obj/lzma_sdk/*.o *.bin *.exe *.so *.dll *.restore *.out *.pid *.log hashcat core + $(RM) -f obj/*.o obj/lzma_sdk/*.o *.bin *.exe *.so *.dll *.pid hashcat core $(RM) -rf *.induct $(RM) -rf *.outfiles $(RM) -rf *.dSYM $(RM) -rf kernels +distclean: clean + $(RM) -f *.restore *.pot *.out *.log + ## ## Targets: Cross Compilation (for binary release version) ##