aboutsummaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-01-03 10:15:31 +0000
committerJuan J. Martinez <jjm@usebox.net>2021-01-03 10:15:31 +0000
commit325061c34e876476593f48656ac966bddbb54ae0 (patch)
tree8ea1acf3a08d52fa988f5b213e21f250f9968227 /game
parentd49c62663b6a2229e9849769591873005c762618 (diff)
downloadubox-msx-lib-325061c34e876476593f48656ac966bddbb54ae0.tar.gz
ubox-msx-lib-325061c34e876476593f48656ac966bddbb54ae0.zip
Added a dep generating tool that should be multi-platform
Making thins easier in windows.
Diffstat (limited to 'game')
-rw-r--r--game/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/Makefile b/game/Makefile
index da7d699..325247f 100644
--- a/game/Makefile
+++ b/game/Makefile
@@ -1,7 +1,7 @@
all:
mkdir -p ./generated ./bin ./build
make -C data
- cd src && rm -f Makefile.deps && touch Makefile.deps && find . -name "*.c" | xargs -n1 sdcc -I../generated -I../../include -MM | sed -r 's/([^:]+):/..\/build\/\1:/' >> Makefile.deps
+ cd src && ../../tools/mkdeps.py -b ../build -I ../generated:../../include ./ Makefile.deps2
make -C src
.PHONY: all clean