blob: 704d53535b87642228865a3e95f5dafde2b85512 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
CSC=csc.exe
CSCFLAGS=/nologo /debug+ /debug:full /optimize /target:exe /r:System.dll /r:Mono.GetOptions.dll /out:mbas.exe
VERSION=0.13
COMPILER_SOURCES = \
AssemblyInfo.cs \
assign.cs \
attribute.cs \
cfold.cs \
class.cs \
codegen.cs \
const.cs \
constant.cs \
decl.cs \
delegate.cs \
driver.cs \
enum.cs \
ecore.cs \
expression.cs \
genericparser.cs \
interface.cs \
literal.cs \
location.cs \
mb-parser.cs \
mb-tokenizer.cs \
modifiers.cs \
module.cs \
namespace.cs \
parameter.cs \
pending.cs \
report.cs \
rootcontext.cs \
statement.cs \
statementCollection.cs \
support.cs \
tree.cs \
typemanager.cs
all: mbas.exe
parser: mb-parser.cs
mbas.exe: $(COMPILER_SOURCES)
$(CSC) $(CSCFLAGS) $(COMPILER_SOURCES)
docs: $(COMPILER_SOURCES)
$(CSC) $(CSCFLAGS) /doc:docs.xml /nowarn:1591 $(COMPILER_SOURCES)
windows: all
linux: all
opt:
$(CSC) /nologo /optimize+ /r:System.dll /target:exe /out:mbas.exe $(COMPILER_SOURCES)
clean:
rm -f mbas.exe y.output mbas.pdb *~ .*~ mb-parser.cs mbas.log response
mb-parser.cs: mb-parser.jay
../jay/jay -ctv < ../jay/skeleton.cs mb-parser.jay > mb-parser.cs
|