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

.DEFAULT_GOAL := build

install: ${PROG}
	cp ${PROG} ${PREFIX}/bin/

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

clean: ${PROG}
	rm ${PROG}