summaryrefslogtreecommitdiff
path: root/Makefile
blob: 35b1adc27f13cf6bffb4620c5563bc05ea73a9fc (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
41
42
43
44
45
46
SUB = parse \
      mi \
      util \
      6 \
      muse \
      rt \

EXTRA=buildmyr
EXTRACLEAN=cleanmyr
EXTRAINSTALL=installmyr
EXTRAUNINSTALL=uninstallmyr

include mk/c.mk
include config.mk

check: all
	./mbldwrap.sh test

.PHONY: bench
bench:
	mbld bench

.PHONY: bootstrap
bootstrap: subdirs
	./mk/bootstrap/bootstrap+`uname -s`-`uname -m`.sh
	MBLD=mbld/mbld ./mbldwrap.sh
	obj/mbld/mbld -o '' clean

.PHONY: genbootstrap
genbootstrap: buildmyr
	./genbootstrap.sh

buildmyr: subdirs
	./mbldwrap.sh

cleanmyr:
	./mbldwrap.sh clean

installmyr:
	./mbldwrap.sh install

uninstallmyr:
	./mbldwrap.sh uninstall

release:
	./support/release.sh $(VERSION)