-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
50 lines (36 loc) · 1.44 KB
/
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
41
42
43
44
45
46
47
48
49
include build/conf.mk
all clean: build/conf.mk bin include output
@$(MAKE) pre_$@
@$(MAKE) -C tools $@
@$(MAKE) -C boot $@
@$(MAKE) -C kernel $@
@$(MAKE) -C distro $@
@$(MAKE) post_$@
pre_all:
@echo "\033[0;32mBR\033[0;33m-\033[0;34mUX \033[0;31m${VERSION}${EDITION}\033[0m v$(VERSION).${SUB_VERSION} (B$(SUB_VERSION)${REVISION}) Build System"
pre_clean:
@echo >> /dev/null
post_all:
@echo Build completed
post_clean:
@rm -Rf output/*
bin include output:
@mkdir -p $@
build/conf.mk: configure build/base.mk build/version build/sub_version build/edition build/revision
@echo "Run ./configure"
@exit 1
run_sharp: all
@$(ECHORUN) Sharp HB-8000 with DDX 3.0 FDC
@openmsx -machine Sharp_HB-8000_1.1 -ext megaram -ext DDX_3.0 -diska distro/720.img
run_expert: all
@$(ECHORUN) Gradiente Expert XP-800 with Microsol CDX-2 FDC
@openmsx -machine Gradiente_Expert_XP-800 -ext megaram -ext Microsol_CDX-2 -diska distro/720.img
run_ddplus: all
@$(ECHORUN) Gradiente Expert DD Plus
@openmsx -machine Gradiente_Expert_DD_Plus -ext megaram -diska distro/720.img
run_minimal: all
@$(ECHORUN) Mitsubishi ML-F110 with Mitsubishi ML-30FD
@openmsx -machine Mitsubishi_ML-F110 -ext megaram -ext Mitsubishi_ML-30DC_ML-30FD -diska distro/720.img
run_serial: all
@$(ECHORUN) Mitsubishi ML-F110 with Mitsubishi ML-30FD and RS-232
@openmsx -machine Mitsubishi_ML-F110 -ext megaram -ext slotexpander -ext rs232 -ext Mitsubishi_ML-30DC_ML-30FD -diska distro/720.img