aboutsummaryrefslogtreecommitdiff
path: root/game/Makefile
blob: da7d699c6a835dbf7573da50ddf1a9ebcb7b309e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
	make -C src

.PHONY: all clean
clean:
	rm -rf ./generated ./bin ./build
	make -C src clean
	make -C data clean