Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2012-04-24 18:36:09 +0400
committerMarek Safar <marek.safar@gmail.com>2012-04-24 18:36:09 +0400
commit27ebd353cd49f629a2d8bc11419bccc41023b9b3 (patch)
tree910762da63fe92090c079431ec31345721caa171 /mcs/build/executable.make
parent50e6b2e3c0b981d606177c2424830f6edb7e004b (diff)
Fix programs clean target
Diffstat (limited to 'mcs/build/executable.make')
-rw-r--r--mcs/build/executable.make8
1 files changed, 3 insertions, 5 deletions
diff --git a/mcs/build/executable.make b/mcs/build/executable.make
index b9935a42927..47af1976212 100644
--- a/mcs/build/executable.make
+++ b/mcs/build/executable.make
@@ -11,8 +11,6 @@ ifndef base_prog_config
base_prog_config := $(wildcard $(base_prog).config)
endif
-executable_CLEAN_FILES = *.exe $(PROGRAM) $(PROGRAM).mdb $(BUILT_SOURCES)
-
ifeq (cat,$(PLATFORM_CHANGE_SEPARATOR_CMD))
response = $(sourcefile)
else
@@ -36,10 +34,10 @@ endif
the_lib = $(the_libdir)$(base_prog)
build_lib = $(build_libdir)$(base_prog)
+executable_CLEAN_FILES += $(the_lib) $(the_lib).so $(the_lib).mdb $(the_lib:.exe=.pdb)
+executable_CLEAN_FILES += $(build_lib) $(build_lib).so $(build_lib).mdb $(build_lib:.exe=.pdb)
+
makefrag = $(depsdir)/$(PROFILE)_$(base_prog).makefrag
-pdb = $(patsubst %.exe,%.pdb,$(PROGRAM))
-mdb = $(patsubst %.exe,%.mdb,$(PROGRAM))
-executable_CLEAN_FILES += $(makefrag) $(pdb) $(mdb)
all-local: $(the_lib) $(PROGRAM_config)