Browse Source

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

PR 2587
	* Makefile.am: Fix rule to build .c files from .m files.
gdb-9-branch
Nick Clifton 6 years ago
parent
commit
415ed2a175
  1. 5
      gprof/ChangeLog
  2. 2
      gprof/Makefile.am

5
gprof/ChangeLog

@ -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

2
gprof/Makefile.am

@ -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 $<

Loading…
Cancel
Save