This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Patch bfd/doc/Makefile.am and Interix 64bit target
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jerker Bäck <jerker dot back at telia dot com>
- Cc: binutils at sourceware dot org
- Date: Sun, 24 Aug 2008 13:27:50 +0930
- Subject: Re: Patch bfd/doc/Makefile.am and Interix 64bit target
- References: <000501c8d3b9$69d8de50$3d8a9af0$@back@telia.com>
On Sat, Jun 21, 2008 at 06:11:01PM +0200, Jerker Bäck wrote:
> My compiler doesn't like to have options after the source file.
> This patch simply move the source file last in the command.
Applied, along with removing the now redundant chew.o rule.
bfd/doc/
* Makefile.am (chew.o): Delete rule.
($(MKDOC)): Move options before C file.
* Makefile.in: Regenerate.
Index: bfd/doc/Makefile.am
===================================================================
RCS file: /cvs/src/src/bfd/doc/Makefile.am,v
retrieving revision 1.24
diff -u -p -r1.24 Makefile.am
--- bfd/doc/Makefile.am 10 Jul 2008 01:32:22 -0000 1.24
+++ bfd/doc/Makefile.am 24 Aug 2008 03:48:49 -0000
@@ -60,14 +60,10 @@ INCLUDES = -I.. -I$(srcdir)/.. -I$(srcdi
-I$(srcdir)/../../intl -I../../intl
$(MKDOC): $(srcdir)/chew.c
- $(CC_FOR_BUILD) -o chew.$$$$ $(srcdir)/chew.c \
- $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(H_CFLAGS) \
- $(INCLUDES); \
+ $(CC_FOR_BUILD) -o chew.$$$$ $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) \
+ $(H_CFLAGS) $(INCLUDES) $(srcdir)/chew.c; \
$(SHELL) $(srcdir)/../../move-if-change chew.$$$$ $(MKDOC)
-chew.o: chew.c
- $(CC_FOR_BUILD) -c $(INCLUDES) $(H_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/chew.c
-
protos: libbfd.h libcoff.h bfd.h
# We can't replace these rules with an implicit rule, because
--
Alan Modra
Australia Development Lab, IBM