summaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/makefile b/src/makefile
index 4d86411..eb8e91b 100644
--- a/src/makefile
+++ b/src/makefile
@@ -7,10 +7,10 @@ CU_SRCFILES := $(wildcard *.cu)
CU_OBJFILES := $(patsubst %.cu, %.o, $(CU_SRCFILES))
all: $(CU_OBJFILES)
- nvcc $(LIBS) -o build/indigo_worlds build/*.o
+ nvcc $(LIBS) -g -G -o build/indigo_worlds build/*.o
%.o: %.cu
- nvcc --device-debug -dc -c $< -o build/$@
+ nvcc -g -G -dc -c $< -o build/$@
run: all
build/indigo_worlds