summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-07-10 00:22:35 +0100
committerdavidovski <david@davidovski.xyz>2023-07-10 00:22:35 +0100
commitab6501461a12894795661914096704451c343344 (patch)
tree0c4b785ef38d621b64cbc83132ebe5a707682c66 /makefile
parent80489b02d737848395506b218b27b86dc116d8b4 (diff)
load tilemap from file
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
+