From: Nikolai Lifanov Date: Tue, 5 Jul 2016 18:59:46 +0000 (-0400) Subject: make native build play well with external build systems X-Git-Url: https://www.flypig.org.uk/git/?p=hashcat.git;a=commitdiff_plain;h=61efadb6843269e8274ac31f03358bcbbc894e2b make native build play well with external build systems --- diff --git a/src/Makefile b/src/Makefile index a36bf34..15a205f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -58,13 +58,14 @@ OPENCL_HEADERS_KHRONOS := deps/OpenCL-Headers ## Native compiler paths ## -CC := gcc -FIND := find -INSTALL := install -RM := rm -SED := sed +CC ?= gcc +FIND ?= find +INSTALL ?= install +RM ?= rm ifeq ($(UNAME),Darwin,FreeBSD) -SED := gsed +SED ?= gsed +else +SED ?= sed endif ##