1 # @(#)Makefile 5.17 (Berkeley) 5/11/90
6 SRCS= gprof.c arcs.c dfn.c lookup.c ${MACHINE}.c hertz.c \
7 printgprof.c printlist.c
8 LIBS = ../bfd/libbfd.a ../libiberty/libiberty.a
10 #CFLAGS+=-I${.CURDIR}/../../lib/csu.${MACHINE}
11 CFLAGS= -I. -I../include -O -g -DMACHINE_H=\"${MACHINE}.h\"
13 OBJS= gprof.o arcs.o dfn.o lookup.o ${MACHINE}.o hertz.o \
14 printgprof.o printlist.o
19 install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
20 ${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg \
21 ${DESTDIR}/usr/share/misc
23 #.include <bsd.prog.mk>
25 $(CC) $(CFLAGS) $(OBJS) -o $(PROG) $(LIBS)