CLEAN_FILES += y.output
%-parser.cs: %-parser.jay $(topdir)/jay/skeleton.cs
- $(topdir)/jay/jay -ctv < $(topdir)/jay/skeleton.cs $< > jay-tmp.out && mv jay-tmp.out $@
+ $(topdir)/jay/jay -cv < $(topdir)/jay/skeleton.cs $< > jay-tmp.out && mv jay-tmp.out $@
ifeq (net_2_0_bootstrap, $(PROFILE))
$(PROGRAM) $(PROGRAM).config: $(dir $(PROGRAM))/.stamp
-$(PROGRAM): $(topdir)/class/lib/default/mcs.exe
+$(PROGRAM): $(topdir)/class/lib/net_1_1/mcs.exe
cp $< $@
$(PROGRAM).config: gmcs.exe.config
include ../build/executable.make
endif
+#
+# Below this line we have local targets used for testing and development
+#
+
# Testing targets
TIME = time
@ cp $(COMPILER_NAME).exe* $(topdir)/class/lib/$(PROFILE)/
q: cs-parser.cs qh
- echo 'System.Console.WriteLine ("Hello");' | csharp
- echo -e 'using System;\nConsole.WriteLine ("hello");' | csharp
- echo -e '"foo" == "bar";' | csharp
- echo -e 'var a = 1;\na + 2;' | csharp
- echo -e 'int j;\nj = 1;' | csharp
- echo -e 'var a = new int[]{1,2,3};\nfrom x in a select x;' | csharp
- echo -e 'var a = from f in System.IO.Directory.GetFiles ("/tmp") where f == "passwd" select f;' | csharp
-
-# read-eval-print-loop test target, for quickly hackign
-repl:
- mono --debug gmcs.exe -v --shell
+ echo 'System.Console.WriteLine ("Hello");' | mono csharp.exe
+ echo -e 'using System;\nConsole.WriteLine ("hello");' | mono csharp.exe
+ echo -e '"foo" == "bar";' | mono csharp.exe
+ echo -e 'var a = 1;\na + 2;' | mono csharp.exe
+ echo -e 'int j;\nj = 1;' | mono csharp.exe
+ echo -e 'var a = new int[]{1,2,3};\nfrom x in a select x;' | mono csharp.exe
+ echo -e 'var a = from f in System.IO.Directory.GetFiles ("/tmp") where f == "passwd" select f;' | mono csharp.exe
+