Makefile: Fixed rule for building makedep when cross-compiling.
This commit is contained in:
parent
4c32875e92
commit
9cc11a3d53
|
@ -117,7 +117,7 @@ RECURSE_TARGETS = \
|
|||
depend $(RECURSE_TARGETS): $(MAKEDEP)
|
||||
|
||||
$(MAKEDEP):
|
||||
@cd $(TOOLSDIR)/tools && $(MAKE) makedep$(EXEEXT)
|
||||
@cd $(TOOLSDIR)/tools && $(MAKE) makedep
|
||||
|
||||
# Test rules
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue