make native build play well with external build systems
This commit is contained in:
13
src/Makefile
13
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
|
||||
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user