aboutsummaryrefslogtreecommitdiff
path: root/game/Makefile
blob: 6c3d8559cc86b13e98e84a870c2cede5d2b85c14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
default:
	$(error Please use the Makefile from root directory)

all: generated bin build
	make -C data
	cd src && ../../tools/mkdeps.py -b ../build -I ../generated:../../include ./ Makefile.deps
	make -C src

generated:
	mkdir -p ./generated

bin:
	mkdir -p ./bin

build:
	mkdir -p ./build

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