diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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} |