aboutsummaryrefslogtreecommitdiff
path: root/game/Makefile
blob: 3fe43f30265ce10ff967dc35b640fc74b341c498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 all

generated:
	mkdir -p ./generated

bin:
	mkdir -p ./bin

build:
	mkdir -p ./build

openmsx: all
	make -C src openmsx

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