diff options
author | davidovski <david@sendula.com> | 2021-04-24 16:02:53 +0100 |
---|---|---|
committer | davidovski <david@sendula.com> | 2021-04-24 16:02:53 +0100 |
commit | 12ce6db05a69be594a7256161aa995072046dac6 (patch) | |
tree | 411b2d1f80477452399cebcfedc156fbb67d7880 | |
parent | 49a3300fe24ad4c0d5c17d059c031286076bfb69 (diff) |
added compilation for macos
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | libraylib.a | bin | 0 -> 1664176 bytes |
2 files changed, 6 insertions, 3 deletions
@@ -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 Binary files differnew file mode 100644 index 0000000..89ccf4b --- /dev/null +++ b/libraylib.a |