Fixed some serious bugs in the configuration of gprof. It now works with
[deliverable/binutils-gdb.git] / gprof / Makefile.in
1 # @(#)Makefile 5.17 (Berkeley) 5/11/90
2
3 #### host and target dependent Makefile fragments come in here.
4 ###
5
6 PROG= gprof
7 SRCS= gprof.c arcs.c dfn.c lookup.c ${MACHINE}.c hertz.c \
8 printgprof.c printlist.c
9 LIBS = ../bfd/libbfd.a ../libiberty/libiberty.a
10
11 OBJS= gprof.o arcs.o dfn.o lookup.o ${MACHINE}.o hertz.o \
12 printgprof.o printlist.o
13
14 CFLAGS= -I. -I../include -DMACHINE_H=\"${MACHINE}.h\" ${TCFLAGS} ${HCFLAGS}
15
16 all: ${PROG}
17
18 beforeinstall:
19 install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
20 ${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg \
21 ${DESTDIR}/usr/share/misc
22
23 $(PROG): $(OBJS)
24 $(CC) $(CFLAGS) $(OBJS) -o $(PROG) $(LIBS)
25
26 clean:
27 -rm -f $(OBJS) core gprof nohup.out
This page took 0.03763 seconds and 5 git commands to generate.