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.
This commit is contained in:
@@ -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)
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user