# $Header:Makefile 12.0$ 
# $ACIS:Makefile 12.0$ 
# $Source: /ibm/acis/usr/src/usr.bin/prof/RCS/Makefile,v $ 

#	@(#)Makefile	4.1 (Berkeley) 6/2/83
#
# If you don't want to plot, take out the -Dplot and the ref. to plot.a
PLOT = -lplot -Dplot
CFLAGS=-O 
all: prof

prof:	prof.o
	$(CC) -o prof prof.o $(PLOT)

prof.o: prof.c
	${CC} -c $(CFLAGS) $(PLOT) prof.c

install: all
	install -c -s prof $(DESTDIR)/usr/bin/prof

clean :
	rm -f *.o prof
