summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBrett Weiland <brett_weiland@gmail.com>2024-05-08 22:52:46 -0500
committerBrett Weiland <brett_weiland@gmail.com>2024-05-08 22:52:46 -0500
commit882999e591ece292d5ddbc87020ba70b3d2d1658 (patch)
treee09b8ccc68f447a096981355b4330c31b4fcb268 /makefile
parentae190c620265549ac2d355a94de19c905d54c2a0 (diff)
workspace
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/*
+
+