summaryrefslogtreecommitdiff
path: root/Makefile
blob: cb44302da7a9ca34085e30aab56bad7cd3b84204 (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
30
31
32
33
34
35
36
37
38
39
40
all: libs

libs: lib ubox spman mplayer

game: bin libs bin/game.rom

bin/game.rom:
	make -C tools
	make -C game

docs:
	make -C docs

ubox:
	make -C src/ubox

spman:
	make -C src/spman

mplayer:
	make -C src/mplayer

.PHONY: clean cleanall docs ubox libs bin/game.rom
clean:
	rm -f ./bin/game.rom
	make -C src/ubox clean
	make -C src/spman clean
	make -C src/mplayer clean
	make -C game clean

lib:
	mkdir -p ./lib

bin:
	mkdir -p ./bin

cleanall: clean
	rm -rf ./bin ./lib
	make -C docs clean