diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b06d04f --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +PROG=asteroids +CC=gcc +FLAGS=-lm `pkg-config -libs raylib` + +.DEFAULT_GOAL := run + +${PROG}: ${PROG}.c + ${CC} ${PROG}.c -o ${PROG} ${FLAGS} + +run: ${PROG} + ./${PROG} |