summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile9
-rw-r--r--libraylib.abin0 -> 1664176 bytes
2 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index edbf455..46828eb 100644
--- a/Makefile
+++ b/Makefile
@@ -4,11 +4,14 @@ FLAGS=-lm -lraylib
.DEFAULT_GOAL := install
-${PROG}: ${PROG}.c
- ${CC} ${PROG}.c -o ${PROG} ${FLAGS}
-
install: ${PROG}
cp ${PROG} ~/.local/bin/
+build: ${PROG}.c
+ ${CC} ${PROG}.c -o ${PROG} ${FLAGS}
+
+build-osx: ${PROG}
+ clang -framework CoreVideo -framework IOKit -framework Cocoa -framework GLUT -framework OpenGL libraylib.a ${PROG}.c -o ${PROG}
+
clean: ${PROG}
rm ${PROG}
diff --git a/libraylib.a b/libraylib.a
new file mode 100644
index 0000000..89ccf4b
--- /dev/null
+++ b/libraylib.a
Binary files differ