diff options
author | davidovski <david@sendula.com> | 2021-04-24 15:21:14 +0100 |
---|---|---|
committer | davidovski <david@sendula.com> | 2021-04-24 15:21:14 +0100 |
commit | f292188965e3444cf84d25a13693bc863787f4a1 (patch) | |
tree | 7094e9af0f030ed1320788c9f8df6a7bf2b7e858 /Makefile | |
parent | 925e5e56aca94018cf714803e43b2c04fc440a57 (diff) |
modified makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,12 +1,14 @@ PROG=asteroids CC=gcc -FLAGS=-lm `pkg-config -libs raylib` +FLAGS=-lm -lraylib -.DEFAULT_GOAL := run +.DEFAULT_GOAL := install ${PROG}: ${PROG}.c ${CC} ${PROG}.c -o ${PROG} ${FLAGS} -run: ${PROG} - ./${PROG} +install: ${PROG} + cp ${PROG} ~/.local/bin/ +clean: ${PROG} + rm ${PROG} |