Ensure 'make clean' is a safe operation (eg. do not remove output and

session files). Add a 'make distclean' target for removing such files
as well. Closes #1218.
pull/1219/head
magnum 7 years ago
parent 8caf3ba57f
commit ba0b2ee641

1
.gitignore vendored

@ -11,6 +11,7 @@ hashcat.dll
*.pot
*.pid
*.log
*.out
*.dSYM
kernels/**
lib/*.a

@ -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)
##

Loading…
Cancel
Save