diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 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} |