summaryrefslogtreecommitdiff
path: root/Makefile
blob: 2a5ece6b9a6a9921a7f561376b0871a13dc08b36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
PROG=tiled
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}