-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathMakefile
executable file
·69 lines (62 loc) · 2.7 KB
/
Makefile
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
63
64
65
66
67
68
69
CSC = gmcs -debug
all : interpreter debugger
debugger : Katahdin.Debugger.exe
interpreter : Katahdin.Interpreter.exe
check : Katahdin.Tests.dll interpreter
nunit-console2 Katahdin.Tests.dll
./katahdini -verbose \
tests/language/*.kat \
tests/library/*.kat \
tests/library/fortran/*.f \
tests/library/python/*.py \
demos/factorial.kat
./katahdini -verbose \
demos/sql/problem.kat - 1985
./katahdini -verbose \
demos/sql/solution.kat - 1985
./katahdini -verbose \
demos/fortran-python/random.f \
demos/fortran-python/random.py \
demos/fortran-python/fusion.kat
Katahdin.Tests.dll : Katahdin.dll \
tests/runtime/*.cs
$(CSC) -target:library -out:$@ -pkg:mono-nunit -r:Katahdin.dll \
tests/runtime/*.cs
Katahdin.Debugger.exe : Katahdin.dll \
Katahdin.Debugger/*.cs \
Katahdin.Debugger/ObjectViewer/*.cs
$(CSC) -out:$@ -pkg:gtk-sharp-2.0 -r:Katahdin.dll \
Katahdin.Debugger/*.cs \
Katahdin.Debugger/ObjectViewer/*.cs
Katahdin.Interpreter.exe : Katahdin.dll \
Katahdin.Interpreter/*.cs
$(CSC) -out:$@ -r:Katahdin.dll \
Katahdin.Interpreter/*.cs
dll : Katahdin.dll
Katahdin.dll : Katahdin/*.cs \
Katahdin/Collections/*.cs \
Katahdin/Base/*.cs \
Katahdin/Base/pattern/*.cs \
Katahdin/Base/expressions/*.cs \
Katahdin/Base/statements/*.cs \
Katahdin/Base/class/*.cs \
Katahdin/Grammars/*.cs \
Katahdin/Grammars/Precedences/*.cs \
Katahdin/Grammars/Alts/*.cs \
Katahdin/CodeTree/*.cs\
Katahdin/Compiler/*.cs
$(CSC) -target:library -out:$@ Katahdin/*.cs \
Katahdin/Collections/*.cs \
Katahdin/Base/*.cs \
Katahdin/Base/pattern/*.cs \
Katahdin/Base/expressions/*.cs \
Katahdin/Base/statements/*.cs \
Katahdin/Base/class/*.cs \
Katahdin/Grammars/*.cs \
Katahdin/Grammars/Precedences/*.cs \
Katahdin/Grammars/Alts/*.cs \
Katahdin/CodeTree/*.cs \
Katahdin/Compiler/*.cs
clean :
rm -f Katahdin.Tests.dll Katahdin.Debugger.exe Katahdin.Interpreter.exe \
Katahdin.dll *.mdb TestResult.xml