Skip to content

Commit f0923f5

Browse files
committed
Add c++11 standard to makefile
1 parent 575fc4a commit f0923f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARFLAGS= -rcv
22

33
CUDA=/usr/local/cuda
44
NVCC=$(CUDA)/bin/nvcc
5-
NVCCFLAGS= -gencode arch=compute_30,code=sm_30 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70
5+
NVCCFLAGS= -std=c++11 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70
66
CUDAFLAGS= -L$(CUDA)/lib64 -I$(CUDA)/include -lcuda -lcudart
77

88
OBJECTS= src/bsdf.o src/bvh.o src/bxdf.o src/camera.o src/intersection.o src/io.o src/math.o src/microfacet.o src/onb_math.o src/path.o src/random.o src/ray.o src/render.o src/shape.o src/texture.o src/lodepng/lodepng.o

0 commit comments

Comments
 (0)