summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..4c0072f
--- /dev/null
+++ b/makefile
@@ -0,0 +1,14 @@
+CC=gcc
+FLAGS=-lm -lraylib
+
+.DEFAULT_GOAL := build
+
+install: tiled
+ cp tiled ${PREFIX}/bin/
+
+build: tiled.c tiledfile.c tiledfile.h
+ ${CC} tiled.c tiledfile.c -o tiled ${FLAGS}
+
+clean: tiled
+ rm tiled
+