summaryrefslogtreecommitdiff
path: root/makefile
blob: 3993cde26c7db4159bd7288ab85b4f90e65393bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CC=gcc
FLAGS=-lm -lraylib -ggdb

.DEFAULT_GOAL := build

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

build: src/*.c src/*.h
	${CC} src/*.c -o tiled ${FLAGS} 

editor: src/*.c src/editor.c
	${CC} src/*.c -o editor ${FLAGS}

clean: tiled
	rm tiled