Fix the rule for building C files in the gprof makefile.

PR 2587
	* Makefile.am: Fix rule to build .c files from .m files.
This commit is contained in:
Nick Clifton 2019-11-13 11:21:39 +00:00
parent 17298d65f0
commit 415ed2a175
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2019-11-13 Nick Clifton <nickc@redhat.com>
PR 2587
* Makefile.am: Fix rule to build .c files from .m files.
2019-09-18 Alan Modra <amodra@gmail.com>
* corefile.c, * symtab.c: Update throughout for bfd section

View File

@ -64,7 +64,7 @@ CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/development.sh
# This empty rule is a hack against gmake patched by Apple.
%.o:%.m
.m.c:
.c.m:
awk -f $(srcdir)/gen-c-prog.awk > $@ \
FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
FILE=$*.m $<