head     1.3;
branch   ;
access   ;
symbols  ;
locks    ; strict;
comment  @# @;


1.3
date     91.03.07.16.18.10;  author meuer;  state Exp;
branches ;
next     1.2;

1.2
date     91.02.05.15.26.54;  author meuer;  state Exp;
branches ;
next     1.1;

1.1
date     91.02.05.15.11.20;  author meuer;  state Exp;
branches ;
next     ;


desc
@Part of the arc2list program.

@



1.3
log
@ 
@
text
@
# $Header: /usr4/Geom_utilities/Arc2list/RCS/Makefile,v 1.2 91/02/05 15:26:54 meuer Exp Locker: meuer $
#
# Makefile for histogram conversion program
# Mark Meuer
#
#
# The environment variable CPUTYPE must be set to iris4, sun3os3, sun3os4 or sun4


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

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

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

CONF=
IPATH= -I.
#CFLAGS=	 -prototypes -g ${IPATH}
CFLAGS=	 -g ${IPATH}

HDRS = 

SRCS = \
	arcstuff.c \
	errors.c \
	parse_command.c \
	process_arcs.c \
	main.c \
	mf.c \
	open_file.c


OBJS = \
	arcstuff.o \
	errors.o \
	parse_command.o \
	process_arcs.o \
	main.o \
	mf.o \
	open_file.o

all:	 ${NAME}

${NAME}: ${OBJS} Makefile 
	${CC} ${CFLAGS} -o ${NAME} ${OBJS}  ${MACHINE_LIB} -lm

clean: 
	-rm -f *.o *~ *.dvi *.aux *.ps core 

purge: clean
	-rm -f ${NAME}

install: all
	@@echo "Using Makefile settings for machine ${CPUTYPE}."
	cp ${NAME} ${BIN_DIR}
	chmod a+rx ${BIN_DIR}/${NAME}
	(cd Document; ${MAKE} install)
	
.C.o: 
	${CPLUSPLUS} -c ${CFLAGS} $<

@


1.2
log
@*** empty log message ***
@
text
@d2 1
a2 1
# $Header: /usr2/meuer/Geom_utilities/Arc2list/RCS/Makefile,v 1.1 91/02/05 15:11:20 meuer Exp Locker: meuer $
d62 6
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# $Header: /usr7/meuer/Vision/Homework/Final_project/RCS/Makefile,v 1.3 90/12/31 12:07:14 meuer Exp $
d56 1
a56 1
clean: depends.mak
a58 3
depends.mak: ${SRCS}
	cc -M ${SRCS} > depends.mak

d60 1
a60 1
	-rm -f ${NAME} depends.mak
a64 2
#Put the file dependencies here.
include depends.mak
@
