From 325061c34e876476593f48656ac966bddbb54ae0 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sun, 3 Jan 2021 10:15:31 +0000 Subject: Added a dep generating tool that should be multi-platform Making thins easier in windows. --- game/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game') 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 -- cgit v1.2.3