blob: 5840003257e60b7f7f2ec6a3c4173041917465ef (
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
|
.PHONY: all sail language clean archs
all: sail interpreter
apply_header:
$(MAKE) clean
headache -c etc/headache_config -h etc/mips_header `ls mips/*.sail`
headache -c etc/headache_config -h etc/mips_header `ls cheri/*.sail`
headache -c etc/headache_config -h src/LICENCE `ls src/*.{ml,mli,nll,mly}`
headache -c etc/headache_config -h src/LICENCE `ls src/lem_interp*.{ml,mli,lem}`
$(MAKE) -C arm apply_header
sail:
$(MAKE) -C src
ln -f -s src/sail.native sail
language:
$(MAKE) -C language
interpreter:
$(MAKE) -C src interpreter
clean:
for subdir in src arm ; do\
$(MAKE) -C "$$subdir" clean;\
done
rm sail
archs:
for arch in arm mips cheri; do\
$(MAKE) -C "$$arch" || exit;\
done
|