aboutsummaryrefslogtreecommitdiff
path: root/game/Makefile
blob: 5699190f0138e5de32c416487bba7ff7d022ebfb (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 build
	make -C data
	cd src && ../../tools/mkdeps.py -b ../build -I ../generated:../../include ./ Makefile.deps
	make -C src all

cas: all
	make -C src cas

generated:
	mkdir -p ./generated

build:
	mkdir -p ./build

openmsx: all
	make -C src openmsx

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