summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-07-22 00:50:32 +0200
committerdavidovski <david@davidovski.xyz>2023-07-22 00:50:32 +0200
commit5ec62c0a2a0357a79f92b8bb37f67272e7f910ff (patch)
tree26e45f549e27999f9bc2d6f5d62461894223230d /makefile
parent2dcefdb4565f96b808ed01ce1d96a802b8f73931 (diff)
loading map data from chunks rather than tilelayout
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/makefile b/makefile
index 28fbdab..928632f 100644
--- a/makefile
+++ b/makefile
@@ -3,6 +3,7 @@ FLAGS=-lm -lraylib -ggdb
.DEFAULT_GOAL := editor
-editor: src/*.c src/editor.c
- ${CC} src/*.c -o editor ${FLAGS}
+EDITOR_SOURCE=src/chunkedtiledmap.c src/editor.c src/kdtree.c src/tiled.c
+editor: ${EDITOR_SOURCE}
+ ${CC} ${EDITOR_SOURCE} -o editor ${FLAGS}