-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
40 lines (30 loc) · 918 Bytes
/
Makefile
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
.PHONY: all clean mv64 mv64-clean pctest pctest-clean genhle genhle-clean
V ?= 0
D ?= 0
help:
@echo "make mvs64: Build mvs64 ROM"
@echo "make pctest: Build tests to run on PC"
@echo "make genhle: Build the AOT recompiler"
@echo
@echo "Use make <target> D=1 to generate debugging symbols"
@echo "Use make <target> V=1 to generate verbose output"
all: mv64 pctest genhle
mvs64:
@echo "Building mvs64"
@make -f Makefile.mvs64 D=$(D) V=$(V) ROM=$(ROM) BIOS=$(BIOS)
mvs64-clean:
@echo "Cleaning mvs64"
@make -f Makefile.mvs64 clean ROM=dummy BIOS=dummy
genhle:
@echo "Building genhle"
@make -f Makefile.genhle D=$(D) V=$(V)
genhle-clean:
@echo "Cleaning genhle"
@make -f Makefile.genhle clean
pctest:
@echo "Building pctest"
@make -f Makefile.pctests D=$(D) V=$(V)
pctest-clean:
@echo "Cleaning pctest"
@make -f Makefile.pctests clean
clean: mvs64-clean pctest-clean genhle-clean