Alexandre Julliard : Makefile: Fixed rule for building makedep when cross-compiling.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Sep 20 13:27:06 CDT 2006


Module: wine
Branch: master
Commit: 9cc11a3d53f7a9c99ba89d105e1087923f48368c
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=9cc11a3d53f7a9c99ba89d105e1087923f48368c

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Sep 20 20:16:19 2006 +0200

Makefile: Fixed rule for building makedep when cross-compiling.

---

 Makefile.in       |    2 +-
 tools/Makefile.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index b94782f..4bbcc44 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -117,7 +117,7 @@ RECURSE_TARGETS = \
 depend $(RECURSE_TARGETS): $(MAKEDEP)
 
 $(MAKEDEP):
-	@cd $(TOOLSDIR)/tools && $(MAKE) makedep$(EXEEXT)
+	@cd $(TOOLSDIR)/tools && $(MAKE) makedep
 
 # Test rules
 
diff --git a/tools/Makefile.in b/tools/Makefile.in
index 14ded8a..aa69d97 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -54,7 +54,7 @@ all: $(PROGRAMS) $(MANPAGES) $(SUBDIRS)
 
 @MAKE_RULES@
 
-makedep$(EXEEXT): makedep.o
+makedep$(EXEEXT) $(EXEEXT:%=makedep): makedep.o
 	$(CC) $(CFLAGS) -o $@ makedep.o $(LDFLAGS)
 
 make_ctests$(EXEEXT): make_ctests.o




More information about the wine-cvs mailing list