summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
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}