dist-local: dist-default
gmcs.exe: $(all_sources)
- MONO_PATH="../class/lib/net_2_0_bootstrap$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" mono ../mcs/mcs.exe -2 /target:exe /out:$@ $^
+ MONO_PATH="../class/lib/net_2_0_bootstrap$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" mono ../mcs/mcs.exe -2 /target:exe /debug /define:MCS_DEBUG /out:$@ $^
+
+gmcs2.exe: $(all_sources)
+ MONO_PATH="../class/lib/net_2_0$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" mcs -2 /target:exe /debug /define:MCS_DEBUG /out:$@ $^
cs-parser.cs: cs-parser.jay $(topdir)/jay/skeleton.cs
- $(topdir)/jay/jay -ctv < $(topdir)/jay/skeleton.cs $< >$@
+ $(topdir)/jay/jay -ctv < $(topdir)/jay/skeleton.cs $< > jay-tmp.out && mv jay-tmp.out $@
# Testing targets
wc -l $(all_sources)
ctest:
- -rm mcs2.exe mcs3.exe
+ rm -f mcs2.exe mcs3.exe
make btest USE_MCS_FLAGS=
# we need this because bash tries to use its own crappy timer