
# $Header: /usr4/Geom_utilities/Poly2xy/Document/RCS/Makefile,v 1.1 91/03/12 10:59:21 meuer Exp $
#
# Makefile for Poly2xy manual pages
# Mark Meuer
#
#
# The environment variable CPUTYPE must be set to iris4, sun3os3, sun3os4 or sun4


SUFFIXES=.c .C .o .h
.SUFFIXES: $(SUFFIXES)

NAME=poly2xy
MAKEFILE=Makefile
MAKEDIR=../../Makefiles
DESTDIR = .
#Include machine specific things
include ${MAKEDIR}/mk.${CPUTYPE}

#CPLUSPLUS = g++
CPLUSPLUS = CC
AR=	/bin/ar

CONF=
IPATH=
LIBPATH =
LIBS =
CFLAGS=	 ${MACHINE_CFLAGS} -g ${IPATH}

HDRS = 

all:
	@echo "Type \"make install\" to install the manpage into ${MAN_DIR}/man1."

install: poly2xy.1 poly2xy.3
	@echo "Using Makefile settings for machine ${CPUTYPE}."
	cp poly2xy.1 ${MAN_DIR}/man1
	chmod a+r ${MAN_DIR}/man1/poly2xy.1
	cp poly2xy.3 ${MAN_DIR}/man3
	chmod a+r ${MAN_DIR}/man3/poly2xy.3
	
clean: 
	@echo "Using Makefile settings for machine ${CPUTYPE}."
	-rm -f *.o *~ *.dvi *.aux *.ps core *.bak

purge: clean

.C.o: 
	${CPLUSPLUS} -c ${CFLAGS} $<

