diff options
author | Brett Weiland <brett_weiland@gmail.com> | 2024-05-09 01:27:55 -0500 |
---|---|---|
committer | Brett Weiland <brett_weiland@gmail.com> | 2024-05-09 01:27:55 -0500 |
commit | 51a8923eb33ad53a36271b1e0b3489d033178337 (patch) | |
tree | 6c2017a8210f43848e338e6065e0964ee20cf115 /makefile | |
parent | 882999e591ece292d5ddbc87020ba70b3d2d1658 (diff) |
will push to unison
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,9 +1,13 @@ LIBS = -lraylib -lGL -lm -lpthread -ldl -lrt -lX11 $CC = gcc +INC = -I /opt/cuda/include make: - $(CC) $(LIBS) main.c -o build/main.o - nvcc --compile main.cu -o build/kernel.o - gcc -o indigo_worlds main.o kernel.o + nvcc $(LIBS) $(INC) --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 + +run: + build/indigo_worlds clean: rm -r build/* |