aboutsummaryrefslogtreecommitdiff
path: root/game/Makefile
blob: 347d37bd86de3f81c3f8aab92c85cd632c46fbfc (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
27
28
29
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

cas: all
	make -C src cas

generated:
	mkdir -p ./generated

bin:
	mkdir -p ./bin

build:
	mkdir -p ./build

openmsx: all
	make -C src openmsx

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