diff options
Diffstat (limited to 'bfd/doc/Makefile.am')
-rw-r--r-- | bfd/doc/Makefile.am | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bfd/doc/Makefile.am b/bfd/doc/Makefile.am index 29381b9..2a7f792 100644 --- a/bfd/doc/Makefile.am +++ b/bfd/doc/Makefile.am @@ -57,8 +57,11 @@ MKDOC = chew$(EXEEXT_FOR_BUILD) INCLUDES = -I.. -I$(srcdir)/.. -I$(srcdir)/../../include \ -I$(srcdir)/../../intl -I../../intl -$(MKDOC): chew.o - $(CC_FOR_BUILD) -o $(MKDOC) chew.o $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) +$(MKDOC): $(srcdir)/chew.c + $(CC_FOR_BUILD) -o chew.$$$$ $(srcdir)/chew.c \ + $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(H_CFLAGS) \ + $(INCLUDES); \ + $(SHELL) $(srcdir)/../../move-if-change chew.$$$$ $(MKDOC) chew.o: chew.c $(CC_FOR_BUILD) -c $(INCLUDES) $(H_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/chew.c |