From e3fc1ec1a0761a355cb6a839cba8db0200e77a0e Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 20 Apr 2021 20:34:53 +0100 Subject: initial commit --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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} -- cgit v1.2.1