summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..c2e4c4e
--- /dev/null
+++ b/makefile
@@ -0,0 +1,11 @@
+LIBS = -lraylib -lGL -lm -lpthread -ldl -lrt -lX11
+$CC = gcc
+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
+
+clean:
+ rm -r build/*
+
+