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


1.5
date     91.04.06.16.25.26;  author meuer;  state Exp;
branches ;
next     1.4;

1.4
date     91.04.06.16.24.37;  author meuer;  state Exp;
branches ;
next     1.3;

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

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

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


desc
@@


1.5
log
@*** empty log message ***
@
text
@
# $Header: /usr4/Geom_utilities/RCS/Makefile,v 1.4 91/04/06 16:24:37 meuer Exp Locker: meuer $
#
# Makefile for the geometric utilities by
# Mark Meuer
#
#
# The environment variable CPUTYPE must be set to iris4, sun3os3, sun3os4 or sun4


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

SHELL=/bin/sh
MAKEFILE=Makefile
MAKEDIR=./Makefiles
DESTDIR = .
SUBSYSTEMS=Matrix_util Poly2tri Poly2area Arc2list Poly2xy Tsum Tri2quad
FTPFILES = \
	README \
	Makefile \
	article.doc \
	ChangeLog \
	Copyright \
	RCS \
	${SUBSYSTEMS}

#Include machine specific things
include ${MAKEDIR}/mk.${CPUTYPE}

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

all:	
	@@echo "Using Makefile settings for machine ${CPUTYPE}."
	for file in ${SUBSYSTEMS} ; \
	do \
	cd $$file  ; \
	echo Creating $$file subsystem. ; \
	${MAKE}  ; \
	${MAKE} -k ; \
	cd .. ; \
	done

recompile:
	@@echo "Using Makefile settings for machine ${CPUTYPE}."
	for file in ${SUBSYSTEMS} ; \
	do \
	cd $$file  ; \
	echo Recompiling $$file subsystem. ; \
	${MAKE} purge ; \
	${MAKE} -k ; \
	cd .. ; \
	done

clean: 
	@@echo "Using Makefile settings for machine ${CPUTYPE}."
	-rm -f *.o *~ *.dvi *.aux *.ps core 
	for file in ${SUBSYSTEMS} ; \
	do \
	cd $$file  ; \
	echo Cleaning $$file subsystem. ; \
	${MAKE} clean ; \
	cd .. ; \
	done

purge: clean
	@@echo "Using Makefile settings for machine ${CPUTYPE}."
	for file in ${SUBSYSTEMS} ; \
	do \
	cd $$file  ; \
	echo Purging $$file subsystem. ; \
	${MAKE} purge ; \
	cd .. ; \
	done

install:	
	@@echo "Using Makefile settings for machine ${CPUTYPE}."
	for file in ${SUBSYSTEMS} ; \
	do \
	cd $$file  ; \
	echo Installing $$file subsystem. ; \
	${MAKE} install ; \
	cd .. ; \
	done

tar:	purge
	@@echo "Using Makefile settings for machine ${CPUTYPE}."
	-rm -f geom_utils.tar.Z
	tar cvf geom_utils.tar ${FTPFILES}
	compress -v geom_utils.tar
	@@echo "Tar archive has been created and compressed."
.C.o: 
	${CPLUSPLUS} -c ${CFLAGS} $<

@


1.4
log
@*** empty log message ***
@
text
@d2 1
a2 1
# $Header: /usr4/Geom_utilities/RCS/Makefile,v 1.3 91/03/07 16:51:22 meuer Exp Locker: meuer $
d25 1
@


1.3
log
@*** empty log message ***
@
text
@d2 1
a2 1
# $Header: /usr4/Geom_utilities/RCS/Makefile,v 1.2 91/03/04 10:55:31 meuer Exp Locker: meuer $
d18 9
a26 1
SUBSYSTEMS=Matrix_util Poly2tri Poly2area Arc2list
d87 6
@


1.2
log
@*** empty log message ***
@
text
@d2 1
a2 1
# $Header: /usr4/Geom_utilities/RCS/Makefile,v 1.1 91/03/01 15:23:02 meuer Exp Locker: meuer $
d14 1
d18 1
d27 9
a35 5
	@@echo "Creating the matrix utilities..."
	(cd Matrix_util ; ${MAKE} -k )
	@@echo "Creating Poly2Tri..."
	(cd Poly2tri ; ${MAKE} -k )
	@@echo "All subidrectories are up-to-date."
d38 9
a46 2
	${MAKE} purge
	${MAKE} all
d49 1
d51 8
a58 6
	@@echo "Cleaning the matrix utilities..."
	(cd Matrix_util ; ${MAKE} -k clean )
	@@echo "Cleaning Poly2Tri..."
	(cd Poly2tri ; ${MAKE} -k clean )
	@@echo "All have been cleaned.""
	
d60 19
a78 6
	@@echo "Purging the matrix utilities..."
	(cd Matrix_util ; ${MAKE} -k purge )
	@@echo "Purging Poly2Tri..."
	(cd Poly2tri ; ${MAKE} -k purge )
	@@echo "All have been cleaned."
	
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# $Header: /usr4/Geom_utilities/Poly2tri/RCS/Makefile,v 1.5 91/02/20 17:08:51 meuer Exp Locker: meuer $
d29 1
a29 1
	@@echo "All are up-to-date."
@
