summaryrefslogtreecommitdiff
path: root/Makefile
blob: 7eea09cfd32fd45c5e7119d4640f1f1fb982e9ae (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
DESTDIR=
PREFIX=/usr
.DEFAULT_GOAL := build

export PATH := .:$(PATH)

shmk0:
	@echo shmk stage0
	@install -m755 src/util/shmk.sh shmk

bootstrap: shmk0
	@echo shmk stage1
	@./shmk.shmk build
	@install -m755 dist/shmk shmk

build: bootstrap
	@echo all xiutils
	@./build.shmk build

clean:
	@rm -r dist
	@rm -r shmk
	@./build.shmk clean

check:
	@./build.shmk check

install:
	@./build.shmk install