head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	94.08.29.04.56.00;	author rjj;	state Exp;
branches;
next	1.1;

1.1
date	94.08.15.04.47.31;	author rjj;	state Exp;
branches;
next	;


desc
@Process this with gnumake.
@


1.2
log
@Removed TOP, added SOURCES, changed TESTS, and made test targets
  use local .o files rather than linking to old routines in the IAH lib.
@
text
@# GNUmakefile          Section: 14.2, Cellular Automata & Life
#      Copyright 1994, Center for Computer Vision and Visualization,
#      University of Florida.  All rights reserved.
#
# See comments in  gnumake.iah for description of symbols.

#######################################################################
# Modify the following symbols to control compilation
#######################################################################

BLASTABLE_PTFILES =
CLOSUREOBJS       =

HEADERS = life.h
LOBJS   = life.o

SOURCES	= life.h life.c  test-life.c
TESTS	= test-life

ARL =
EXTRAINCLUDES =
CPPFLAGS =

OUTPUT_OPTION =
TARGET_ARCH   =
XTRAFLAGS     =
XTRACCFLAGS   =

# Make this nothing if you do not want programs striped.
STRIPPROGRAMS = anystring-means-strip--no-string-means-do-not-strip

#######################################################################
include	../../gnumake.iah
#######################################################################

#######################################################################
#####	User program dependencies and rules follow
#######################################################################

life.o:	life.h life.c

test-life:	test-life.o life.o
	${LINK.cc} -o $@@ $@@.o life.o ${LDLIBS}
	strip $@@
@


1.1
log
@Initial revision
@
text
@d1 4
a4 2
# Sample GNUMakefile to be used to compile the IAH algorithms.
# Initial revision
a10 4
TOP = /cis/homes/rjj/iacc/iah-src
#IACCVERSION = iac++
IACCVERSION = bleeding

d17 2
a18 1
SIMPLETESTS =
a31 1

d33 1
a33 3

include ${TOP}/gnumake.iah

d40 1
a40 6
test-life: ${HEADERS} ${LOBJS} headers lib

HANDBOOK =

TESTS = test-life

d42 3
a44 1
tests: $(TESTS)
@
