summaryrefslogtreecommitdiff
path: root/Makefile
blob: edbf4550348cca30ef81c7cdddffca5fb8118247 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
PROG=asteroids
CC=gcc
FLAGS=-lm -lraylib 

.DEFAULT_GOAL := install 

${PROG}: ${PROG}.c
	${CC} ${PROG}.c -o ${PROG} ${FLAGS}

install: ${PROG}
	cp ${PROG} ~/.local/bin/

clean: ${PROG}
	rm ${PROG}