the current directory to help debugging.
svn path=/trunk/mcs/; revision=36828
+2004-11-30 Raja R Harinath <rharinath@novell.com>
+
+ * Makefile (mcs.exe) [PROFILE=default]: Keep a copy of mcs.exe in
+ the current directory to help debugging.
+
2004-11-29 Marek Safar <marek.safar@seznam.cz>
\r
* class (GetClassBases): Better error 60 report.\r
PROGRAM = $(topdir)/class/lib/$(PROFILE)/mcs.exe
PROGRAM_COMPILE = $(BOOT_COMPILE)
-CLEAN_FILES = y.output
+CLEAN_FILES = y.output *.exe *.mdb
cs-parser.cs: cs-parser.jay $(topdir)/jay/skeleton.cs
$(topdir)/jay/jay -ctv < $(topdir)/jay/skeleton.cs $< > jay-tmp.out && mv jay-tmp.out $@
include ../build/executable.make
+ifeq (default, $(PROFILE))
+# Utility rule to make debugging somewhat easier.
+all-local: mcs.exe
+mcs.exe: $(PROGRAM)
+ cp -p $< $@
+ test ! -f $<.mdb || cp -p $<.mdb $@.mdb
+endif
+
# Testing targets
TIME = time