summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDongdong Li <[email protected]>2013-07-21 20:05:44 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:58 -0700
commitb5e2e7003f5d628d1c9baef08e6f6ae8b43e2ee5 (patch)
tree74d6cfa616bacc9e98a15f2e239aa6daa052f4ba /Makefile
parent7415251d79cc19e209e79c8786b3361707a4675d (diff)
Review 69001:
More support for setup environment 1. More general solution to get CC_VERSION, work for Linux(OpenSUSE, Ubuntu, Debian) and OSX 2. Add zsh support, change == to = to make it compatible with bash, zsh and sh 3. Fix a bug in Makefile [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16640]
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9bf8f83..b6e3e2e 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ endif
BUILD_ROOT?=$(shell pwd)
export TRACE?=1
-NVCC_PATH=$(shellwhich nvcc)
+NVCC_PATH=$(shell which nvcc)
ifneq ($(shell which nvcc), "")
ifeq ($(DEBUG), 1)
export SIM_LIB_DIR=lib/gcc-$(CC_VERSION)/cuda-$(CUDART_VERSION)/debug