diff options
author | davidovski <david@sendula.com> | 2021-04-20 20:34:53 +0100 |
---|---|---|
committer | davidovski <david@sendula.com> | 2021-04-20 20:34:53 +0100 |
commit | e3fc1ec1a0761a355cb6a839cba8db0200e77a0e (patch) | |
tree | b11c3268efa35ae3d2c70e2d533b02706ce210bf /Makefile |
initial commit
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} |