makefiles: Remove makedep only after everything else has been cleaned.

This commit is contained in:
Alexandre Julliard 2010-02-24 12:26:11 +01:00
parent 07d005de84
commit 9b02b5cddb
3 changed files with 4 additions and 3 deletions

View File

@ -107,7 +107,7 @@ $(ALL_DIRS:%=%/__clean__): dummy
@cd `dirname $@` && $(MAKE) clean
clean:: $(ALL_DIRS:%=%/__clean__)
$(RM) $(ALL_DIRS:%=%/Makefile)
$(RM) $(ALL_DIRS:%=%/Makefile) tools/makedep$(EXEEXT)
distclean:: clean
$(RM) config.* configure.lineno TAGS tags include/config.h include/stamp-h $(ALL_CONFIGS)
@ -229,6 +229,7 @@ RECURSE_TARGETS = \
__instal-dev__ \
__install-lib__ \
__uninstall__ \
__testclean__ \
__crosstest__
$(MAKEDEP): include/config.h tools/Makefile

View File

@ -12,7 +12,6 @@ PROGRAMS = \
fnt2bdf$(EXEEXT) \
fnt2fon$(EXEEXT) \
make_ctests$(EXEEXT) \
makedep$(EXEEXT) \
relpath$(EXEEXT) \
sfnt2fnt$(EXEEXT) \
wine.inf \
@ -40,7 +39,7 @@ INSTALLDIRS = \
UPDATE_DESKTOP_DATABASE = update-desktop-database
all: $(PROGRAMS) $(MANPAGES)
all: makedep$(EXEEXT) $(PROGRAMS) $(MANPAGES)
@MAKE_RULES@

View File

@ -97,6 +97,7 @@ my @ignores = (
"programs/winetest/*_test.exe",
"programs/winetest/*_test.rc",
"programs/winetest/build.rc",
"tools/makedep",
);
# Source files and their resulting target to ignore