# GNUmakefile          Section: 12.4
#      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
#######################################################################

#LOCALIACCVERSION	= iac++
#LOCALIAHVERSION	=
BLASTABLE_PTFILES	=
CLOSUREOBJS		= closure-inclusion-relation

HEADERS	= inclusion-relation.h
LOBJS	=

SOURCES	= inclusion-relation.h  inclusion-relation.c \
	  test-inclusion-relation.c  closure-inclusion-relation.c
TESTS	= test-inclusion-relation

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
#######################################################################

# This is really required by inclusion-relation.c
#   however, it is only unavailable when the closure is the target.
holefill.h:
	ln ../../include/holefill.h

closure-inclusion-relation:	closure-inclusion-relation.c \
				inclusion-relation.h inclusion-relation.c \
				holefill.h


test-inclusion-relation.o:	test-inclusion-relation.c \
				inclusion-relation.h inclusion-relation.c

test-inclusion-relation:	test-inclusion-relation.o
	/bin/rm -f holefill.h
	${LINK.cc} -o $@ $@.o  ${LDLIBS}


spotless::
	/bin/rm -f holefill.h
