diff --git a/src/Makefile b/src/Makefile index 7dd497b8c..a7fdea468 100644 --- a/src/Makefile +++ b/src/Makefile @@ -91,6 +91,7 @@ INSTALL := install RM := rm SED := sed SEDOPS := -i + ifeq ($(UNAME),Darwin) CC := clang ifeq ($(OSVERSION),16) @@ -101,8 +102,6 @@ SED := gsed endif endif - - ifeq ($(UNAME),FreeBSD) CC := cc SED := gsed @@ -365,9 +364,9 @@ install_docs: $(FIND) masks/ -type f -exec $(INSTALL) -m 644 {} $(DESTDIR)$(DOCUMENT_FOLDER)/{} \; $(FIND) rules/ -type d -exec $(INSTALL) -m 755 -d $(DESTDIR)$(DOCUMENT_FOLDER)/{} \; $(FIND) rules/ -type f -exec $(INSTALL) -m 644 {} $(DESTDIR)$(DOCUMENT_FOLDER)/{} \; - $(SED) $(SEDOPS) 's/\.\/hashcat/hashcat/' $(DESTDIR)$(DOCUMENT_FOLDER)/example0.sh - $(SED) $(SEDOPS) 's/\.\/hashcat/hashcat/' $(DESTDIR)$(DOCUMENT_FOLDER)/example400.sh - $(SED) $(SEDOPS) 's/\.\/hashcat/hashcat/' $(DESTDIR)$(DOCUMENT_FOLDER)/example500.sh + $(SED) $(SEDOPS) 's/\.\/hashcat/hashcat/' $(DESTDIR)$(DOCUMENT_FOLDER)/example0.sh + $(SED) $(SEDOPS) 's/\.\/hashcat/hashcat/' $(DESTDIR)$(DOCUMENT_FOLDER)/example400.sh + $(SED) $(SEDOPS) 's/\.\/hashcat/hashcat/' $(DESTDIR)$(DOCUMENT_FOLDER)/example500.sh install_shared: $(INSTALL) -m 755 -d $(DESTDIR)$(SHARED_FOLDER)