# $Source: /hpux/shared/supp//usr/src/cmd/ptx/./makefile,v $
# $Revision: 72.2 $

# Common makefile for ptx
# The previous make files also did the linking of eign to eign.sh,
# this will be done by the build process.

OBJECTS	= ptx.o hpux_rel.o
SOURCES	= ptx.c hpux_rel.c

default: ptx

metrics: ptx.M

ptx:	$(OBJECTS)
	$(CC) $(LDFLAGS) -o ptx $(OBJECTS)

ptx.M:	$(SOURCES)
	$(METRICS) $(CFLAGS) -o ptx.M $(SOURCES)

clean:
	rm -f $(OBJECTS)

clobber: clean
	rm -f eign ptx
