summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBrett Weiland <brettsweiland@gmail.com>2024-05-27 20:56:59 -0500
committerBrett Weiland <brettsweiland@gmail.com>2024-05-27 20:56:59 -0500
commit093200a449ea38952de52012e324036c106e294b (patch)
tree6030076eb894ca100d6aa0d6550ab56955e7fb2f /makefile
parent7e9e2150619c05f9e8a74432e596b11f373518b9 (diff)
boutta switch away from templates
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/makefile b/makefile
index b733c07..7f6bddb 100644
--- a/makefile
+++ b/makefile
@@ -2,14 +2,14 @@ LIBS = -lraylib -lGL -lm -lpthread -ldl -lrt -lX11
$CC = gcc
INC = -I /opt/cuda/include
make:
- nvcc $(LIBS) $(INC) --debug -c main.cu -o build/main.o
+ nvcc $(LIBS) $(INC) -O0 --debug -c main.cu -o build/main.o
nvcc --device-debug --compile kernel.cu -o build/kernel.o
- nvcc $(LIBS) -o build/indigo_worlds build/main.o build/kernel.o
+ nvcc $(LIBS) -O0 -o build/indigo_worlds build/main.o build/kernel.o
run:
build/indigo_worlds
clean:
- rm -r build/*
+ rm -rf build/*