-CSC=csc.exe\r
-CSCFLAGS=/nologo /debug+ /debug:full /optimize /target:exe /r:System.dll /out:mbas.exe \r
-\r
-VERSION=0.13\r
-\r
-COMPILER_SOURCES = \\r
- AssemblyInfo.cs \\r
- assign.cs \\r
- attribute.cs \\r
- cfold.cs \\r
- class.cs \\r
- codegen.cs \\r
- const.cs \\r
- constant.cs \\r
- decl.cs \\r
- delegate.cs \\r
- driver.cs \\r
- enum.cs \\r
- ecore.cs \\r
- expression.cs \\r
- genericparser.cs \\r
- interface.cs \\r
- literal.cs \\r
- location.cs \\r
- mb-parser.cs \\r
- mb-tokenizer.cs \\r
- modifiers.cs \\r
- module.cs \\r
- namespace.cs \\r
- parameter.cs \\r
- report.cs \\r
- rootcontext.cs \\r
- statement.cs \\r
- statementCollection.cs \\r
- support.cs \\r
- tree.cs \\r
- typemanager.cs\r
-\r
-all: mbas.exe\r
-\r
-parser: mb-parser.cs\r
-\r
-mbas.exe: $(COMPILER_SOURCES)\r
- $(CSC) $(CSCFLAGS) $(COMPILER_SOURCES)\r
-\r
-docs: $(COMPILER_SOURCES)\r
- $(CSC) $(CSCFLAGS) /doc:docs.xml /nowarn:1591 $(COMPILER_SOURCES)\r
-\r
-windows: all\r
-\r
-linux: all\r
-\r
-opt:\r
- $(CSC) /nologo /optimize+ /r:System.dll /target:exe /out:mbas.exe $(COMPILER_SOURCES)\r
-\r
-clean:\r
- rm -f mbas.exe y.output mbas.pdb *~ .*~ mb-parser.cs mbas.log response\r
-\r
-mb-parser.cs: mb-parser.jay\r
- ../jay/jay -ctv < ../jay/skeleton.cs mb-parser.jay > mb-parser.cs\r
-\r
+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
+
+test: mbas.exe
+ ./mbas testmbas/WriteOk.vb
+
+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
+