16 lines
336 B
Makefile
16 lines
336 B
Makefile
LIBS = -lraylib -lGL -lm -lpthread -ldl -lrt -lX11
|
|
$CC = gcc
|
|
INC = -I /opt/cuda/include
|
|
make:
|
|
nvcc $(LIBS) $(INC) -O0 --debug -c main.cu -o build/main.o
|
|
nvcc --device-debug --compile kernel.cu -o build/kernel.o
|
|
nvcc $(LIBS) -O0 -o build/indigo_worlds build/main.o build/kernel.o
|
|
|
|
run:
|
|
build/indigo_worlds
|
|
|
|
clean:
|
|
rm -rf build/*
|
|
|
|
|