-
Notifications
You must be signed in to change notification settings - Fork 3
/
makeeec.script
64 lines (53 loc) · 1.17 KB
/
makeeec.script
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
50
51
52
53
54
55
56
57
58
59
60
61
62
.K target/A,define/K,more/K
;; NOTE: A special version of EC is *required* to compile eec.020.
set specialec testec
delete #?.m
flushcache
emptycache
set target <target>
if <target> EQ MORPHOS
set ename eec.mos
set ec eec.020 showargs morphos opti define "STACKSIZE 262144;<define>" <more>
endif
if <target> EQ AMIGAOS4
set ename eec.os4
set ec eec.020 showargs amigaos4 opti define "STACKSIZE 262144;<define>" <more>
endif
if <target> EQ AMIGAOS
set ename eec.aos
set ec eec.020 showargs opti define "<define>" amigaos <more>
endif
if <target> EQ EC
set ec $specialec addbuf=900 errline large ignorecache <more>
;set ec ec addbuf=900 opti large errline <more>
endif
if <target> EQ EVO
set ec evo showfname legacy addbuf=900 errline large ignorecache <more>
set target EC
endif
echo target: <target>
echo ec: $ec
$ec binary.e
$ec eecelf.e
$ec runtime.e
$ec support.e
$ec compiler.e
$ec common.e
$ec opcodes68.e
$ec opcodesppc.e
$ec assembler.e
$ec libstubs.e
$ec inline68.e
$ec inlineppc.e
$ec codegen.e
$ec ppcgen.e
$ec 020gen.e
$ec ecmodtrans.e
echo building main
if $target EQ EC
$ec eecmain.e
delete eec.020
rename eecmain eec.020
else
$ec eecmain exename $ename
endif