rectangles/Makefile

16 lines
195 B
Makefile
Raw Normal View History

2023-04-21 20:58:50 +00:00
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}