head	1.27;
access;
symbols
	bobbase:1.27
	bob:1.27.1
	r2_1:1.27
	r2_0:1.25
	r1_1_beta:1.21
	r1_1_alpha:1.19
	r1_0:1.18
	r0_11:1.17
	r0_10:1.15
	r0_9:1.15
	Eglin_alpha_1:1.14;
locks; strict;
comment	@# @;


1.27
date	94.09.16.17.25.07;	author thoth;	state Exp;
branches
	1.27.1.1;
next	1.26;

1.26
date	94.09.13.21.02.22;	author fjsoria;	state Exp;
branches;
next	1.25;

1.25
date	94.08.26.17.59.40;	author thoth;	state Exp;
branches;
next	1.24;

1.24
date	94.08.22.14.57.17;	author thoth;	state Exp;
branches;
next	1.23;

1.23
date	94.08.18.17.57.25;	author fjsoria;	state Exp;
branches;
next	1.22;

1.22
date	94.08.14.20.02.20;	author thoth;	state Exp;
branches;
next	1.21;

1.21
date	94.08.09.18.36.26;	author thoth;	state Exp;
branches;
next	1.20;

1.20
date	94.07.25.16.41.19;	author thoth;	state Exp;
branches;
next	1.19;

1.19
date	94.07.08.16.12.21;	author thoth;	state Exp;
branches;
next	1.18;

1.18
date	94.05.27.15.35.02;	author thoth;	state Exp;
branches;
next	1.17;

1.17
date	94.04.28.13.54.02;	author thoth;	state Exp;
branches;
next	1.16;

1.16
date	94.04.15.13.10.17;	author thoth;	state Exp;
branches;
next	1.15;

1.15
date	93.09.15.12.25.41;	author thoth;	state Exp;
branches;
next	1.14;

1.14
date	93.05.28.15.43.27;	author thoth;	state Exp;
branches;
next	1.13;

1.13
date	93.05.26.17.01.04;	author rjj;	state Exp;
branches;
next	1.12;

1.12
date	93.04.06.22.24.36;	author rjj;	state Exp;
branches;
next	1.11;

1.11
date	93.04.05.23.27.44;	author rjj;	state Exp;
branches;
next	1.10;

1.10
date	92.10.12.20.38.58;	author reti;	state Exp;
branches;
next	1.9;

1.9
date	92.10.07.14.47.07;	author rjj;	state Exp;
branches;
next	1.8;

1.8
date	92.09.08.17.43.11;	author reti;	state Exp;
branches;
next	1.7;

1.7
date	92.09.05.18.39.33;	author reti;	state Exp;
branches;
next	1.6;

1.6
date	92.08.23.13.32.39;	author thoth;	state Exp;
branches;
next	1.5;

1.5
date	92.08.05.17.41.00;	author reti;	state Exp;
branches;
next	1.4;

1.4
date	92.07.27.00.41.43;	author fischer;	state Exp;
branches;
next	1.3;

1.3
date	92.07.19.05.53.59;	author fischer;	state Exp;
branches;
next	1.2;

1.2
date	92.07.16.18.35.06;	author fischer;	state Exp;
branches;
next	1.1;

1.1
date	92.07.15.10.44.02;	author fischer;	state Exp;
branches;
next	;

1.27.1.1
date	94.12.08.14.30.02;	author thoth;	state Exp;
branches;
next	;


desc
@This is a really hacked makefile. Rob, HEEELLLLPPPP!
@


1.27
log
@*** empty log message ***
@
text
@#        Copyright 1993, Center for Computer Vision and Visualization,
#        University of Florida.  All rights reserved.
#
# this is a GNUmakefile.  It must be processed with GNU make.
#

TARGET_ARCH=
TOP=../..

# You should define the make variables LOBJS and HEADERS before the
# include directive.  LOBJS is a list of Library OBJects that belong
# in ../../lib/libiac++.a.  HEADERS is a list of public header files 
# that belong in iac++/include -- they
#

LOBJS= IntPoint.o DblPoint.o
HEADERS= Point.h IntPoint.h DblPoint.h
DISTFILES = GNUmakefile Point_c.m4 Point.h Point_h.m4 defines.m4

include ${TOP}/src/gnumake.templ

# The above include of gnumake.templ introduces a few targets 
# that everyone will use
#
# all: install the header files, build the LOBJS and add them
# to the library
#
# ?? headers-force: force the header files to be copied into include
#
# headers: used by all to install the header files when changed
#
# lib: used by all to add LOBJS to ../../lib/libiac++.a.  libiac++.a is
# your own personal copy of the system libiac++.a that only contains the
# parts you are working on.  ../../librelease.a is a pointer to the
# shared version of /cis/vision/src/iac++/lib/libiac++.a -- rule of thumb:
# NEVER MODIFIY librelease.a -- modify libiac++.a instead.
#
# reallib: this puts your LOBJS into the real libiac++ so that
# everyone else can use them.  Make sure they work first.
#
# clean:: removes all .o and ~ files.  You may define additional
# clean targets to remove other files that you may have generated.
#
# spotless:: the same as clean, but more so.  It should remove
# binaries.  You should define additional spotless targets that
# remove your test binaries and other files that aren't deleted
# by clean.

REGTESTS= $(basename $(wildcard test???.C))

Tests= ${REGTESTS} test-addition test-concatenation  # test-indexing test-rounding test-relationals 


all: ${TESTS}

M4_FILES= Point_c.m4 Point_h.m4 defines.m4

source:			IntPoint.c IntPoint.h DblPoint.c DblPoint.h

IntPoint.c:	defines.m4 Point_c.m4
	rm -f $@@
	${M4} -DINTPOINT defines.m4 Point_c.m4 | cat -s > $@@
	chmod a-w $@@

IntPoint.h:	defines.m4 Point_h.m4
	rm -f $@@
	${M4} -DINTPOINT defines.m4 Point_h.m4 | cat -s > $@@
	chmod a-w $@@

DblPoint.c:	defines.m4 Point_c.m4
	rm -f $@@
	${M4} -DDOUBLEPOINT defines.m4 Point_c.m4 | cat -s > $@@
	chmod a-w $@@

DblPoint.h:	defines.m4 Point_h.m4
	rm -f $@@
	${M4} -DDOUBLEPOINT defines.m4 Point_h.m4 | cat -s > $@@
	chmod a-w $@@

test%.C: test.h
test%.o: test%.C test.h

IntPoint.o: IntPoint.h ${INCDIR}/ia.h
DblPoint.o: DblPoint.h ${INCDIR}/ia.h

test%: test%.o lib
	${LINK.cc} -o $@@ $< ${LDLIBS}

test-addition:	test-addition.o lib
	${LINK.cc} -o $@@ test-addition.o ${LDLIBS}

test-concatenation:	test-concatenation.o lib
	${LINK.cc} -o $@@ test-concatenation.o ${LDLIBS}

test-relationals:	test-relationals.o lib
	${LINK.cc} -o $@@ test-relationals.o ${LDLIBS}

test-rounding:	test-rounding.o lib
	${LINK.cc} -o $@@ test-rounding.o ${LDLIBS}

test-indexing:	test-indexing.o lib
	${LINK.cc} -o $@@ test-indexing.o ${LDLIBS}

create-expected:
	${/bin/csh foreach x (test???)\
                    gnumake \$x ;\
                    \$x >& \$x.expected;\
                    rm \$x\
                   end;
	}

#test:
#	${shell for x in ${REGTESTS}\
#	           do gnumake \$x ;\
#                     \$x >& \$x.out;\
#                     rm $x;\
#                     cmp \$x.out \$x.expected\
#                  done
#	}
                  
clean::
	rm -f ${LOBJS} *.o *~
# dependencies
DblPoint.o : DblPoint.c DblPoint.h ../../include/ia.h Point.h IntPoint.h 
IntPoint.o : IntPoint.c IntPoint.h ../../include/ia.h Point.h 
@


1.27.1.1
log
@New headers.  new fullsrc target.
removed testing support since testing is in a separate directory.
@
text
@d17 2
a18 2
HEADERS= Point.h IntPoint.h DblPoint.h point_errors.h
DISTFILES = GNUmakefile Point_c.m4 Point.h Point_h.m4 defines.m4 point_errors.h
d49 7
d58 1
a58 1
fullsrc:			IntPoint.c IntPoint.h DblPoint.c DblPoint.h
d79 6
a84 1
         
d86 2
a87 2
spotless::
	rm -f IntPoint.[ch] DblPoint.[ch]
d89 34
d124 2
a125 4
IntPoint.o : IntPoint.c ${INCDIR}/compat.h IntPoint.h ${INCDIR}/ia.h \
  Point.h 
DblPoint.o : DblPoint.c ${INCDIR}/compat.h DblPoint.h ${INCDIR}/ia.h \
  Point.h IntPoint.h 
@


1.26
log
@,
@
text
@d83 2
a84 2
IntPoint.o: IntPoint.h ${INCDIR}/ia.h 
DblPoint.o: DblPoint.h ${INCDIR}/ia.h  
@


1.25
log
@*** empty log message ***
@
text
@d84 1
a84 1
DblPoint.o: DblPoint.h ${INCDIR}/ia.h 
@


1.24
log
@re-apply fixes.
@
text
@d17 2
a18 2
HEADERS= Point.h IntPoint.h DblPoint.h FloatPoint.h
DISTFILES = GNUmakefile Point.c.m4 Point.h Point.h.m4 defines.m4
@


1.23
log
@files Point.c.m4 Point.h.m4 renamed to Point_c.m4 Point_h.m4
for DOS compatibility
@
text
@d16 3
a18 2
LOBJS= IntPoint.o FloatPoint.o
HEADERS= Point.h IntPoint.h FloatPoint.h
d56 1
a56 1
M4_FILES= Point.c.m4 Point.h.m4 defines.m4
d58 1
a58 1
source:			IntPoint.c IntPoint.h FloatPoint.c FloatPoint.h
d60 1
a60 1
IntPoint.c:	defines.m4 Point.c.m4
d62 1
a62 1
	${M4} -DINTPOINT defines.m4 Point.c.m4 | cat -s > $@@
d65 1
a65 1
IntPoint.h:	defines.m4 Point.h.m4
d67 1
a67 1
	${M4} -DINTPOINT defines.m4 Point.h.m4 | cat -s > $@@
d70 1
a70 1
FloatPoint.c:	defines.m4 Point.c.m4
d72 1
a72 1
	${M4} -DFLOATPOINT defines.m4 Point.c.m4 | cat -s > $@@
d75 1
a75 1
FloatPoint.h:	defines.m4 Point.h.m4
d77 1
a77 1
	${M4} -DFLOATPOINT defines.m4 Point.h.m4 | cat -s > $@@
d84 1
a84 1
FloatPoint.o: FloatPoint.h ${INCDIR}/ia.h 
d123 3
@


1.22
log
@DOS-inspired filename rework.
@
text
@d16 2
a17 3
LOBJS= IntPoint.o DblPoint.o
HEADERS= Point.h IntPoint.h DblPoint.h FloatPoint.h
DISTFILES = GNUmakefile Point.c.m4 Point.h Point.h.m4 defines.m4
d57 1
a57 1
source:			IntPoint.c IntPoint.h DblPoint.c DblPoint.h
d69 1
a69 1
DblPoint.c:	defines.m4 Point.c.m4
d71 1
a71 1
	${M4} -DDOUBLEPOINT defines.m4 Point.c.m4 | cat -s > $@@
d74 1
a74 1
DblPoint.h:	defines.m4 Point.h.m4
d76 1
a76 1
	${M4} -DDOUBLEPOINT defines.m4 Point.h.m4 | cat -s > $@@
d83 1
a83 1
DblPoint.o: DblPoint.h ${INCDIR}/ia.h 
a121 21

spotless:
	rm -f IntPoint.[ch] DblPoint.[ch]

# dependencies
FloatPoint.o : FloatPoint.c FloatPoint.h ../../include/ia.h Point.h IntPoint.h 
IntPoint.o : IntPoint.c IntPoint.h ../../include/ia.h Point.h 
point_example.01.o : point_example.01.c ../../include/imagealgebra.h ../../include/ia.h \
  ../../include/IntPoint.h ../../include/Point.h ../../include/FloatPoint.h ../../include/IntPointSet.h \
  ../../include/Set.h ../../include/BaseSet.h ../../include/BasePS.h ../../include/SetStructure.h \
  ../../include/Array.h ../../include/FloatPointSet.h ../../include/PSIter.h ../../include/BasePSIter.h \
  ../../include/ClosurePS.h ../../include/BitDI.h ../../include/Bit.h ../../include/CoreImage.h \
  ../../include/BaseI.h ../../include/Pixel.h ../../include/AuxImage.h ../../include/Closure.h \
  ../../include/ImgRestrictAssn.h ../../include/Image.h ../../include/BitImageOps.h \
  ../../include/UcharDI.h ../../include/ImageDisplayProtocol.h ../../include/UcharImageOps.h \
  ../../include/IntDI.h ../../include/IntImageOps.h ../../include/FloatDI.h ../../include/FloatImageOps.h \
  ../../include/ComplexDI.h ../../include/ComplexImageOps.h ../../include/ImageIter.h \
  ../../include/BaseImageIter.h ../../include/ClosureI.h ../../include/ClosureDT.h \
  ../../include/BaseDT.h ../../include/DDTempl.h ../../include/AuxDDTempl.h ../../include/BitConvolutions.h \
  ../../include/UcharConvolutions.h ../../include/IntConvolutions.h ../../include/FloatConvolutions.h \
  ../../include/ComplexConvolutions.h 
@


1.21
log
@backward compatibility.
@
text
@d16 2
a17 2
LOBJS= IntPoint.o DoublePoint.o
HEADERS= Point.h IntPoint.h DoublePoint.h FloatPoint.h
d58 1
a58 1
source:			IntPoint.c IntPoint.h DoublePoint.c DoublePoint.h
d70 1
a70 1
DoublePoint.c:	defines.m4 Point.c.m4
d75 1
a75 1
DoublePoint.h:	defines.m4 Point.h.m4
d84 1
a84 1
DoublePoint.o: DoublePoint.h ${INCDIR}/ia.h 
d125 1
a125 1
	rm -f IntPoint.[ch] DoublePoint.[ch]
@


1.20
log
@*** empty log message ***
@
text
@d17 1
a17 1
HEADERS= Point.h IntPoint.h DoublePoint.h
@


1.19
log
@*** empty log message ***
@
text
@d16 3
a18 2
LOBJS= IntPoint.o FloatPoint.o
HEADERS= Point.h IntPoint.h FloatPoint.h
d58 1
a58 1
source:			IntPoint.c IntPoint.h FloatPoint.c FloatPoint.h
d70 1
a70 1
FloatPoint.c:	defines.m4 Point.c.m4
d72 1
a72 1
	${M4} -DFLOATPOINT defines.m4 Point.c.m4 | cat -s > $@@
d75 1
a75 1
FloatPoint.h:	defines.m4 Point.h.m4
d77 1
a77 1
	${M4} -DFLOATPOINT defines.m4 Point.h.m4 | cat -s > $@@
a79 2
distfiles: IntPoint.c IntPoint.h FloatPoint.c FloatPoint.h

d84 1
a84 1
FloatPoint.o: FloatPoint.h ${INCDIR}/ia.h 
d125 1
a125 1
	rm -f IntPoint.[ch] FloatPoint.[ch]
@


1.18
log
@*** empty log message ***
@
text
@d124 4
@


1.17
log
@*** empty log message ***
@
text
@d79 2
@


1.16
log
@*** empty log message ***
@
text
@d128 1
a128 1
  ../../include/Array.h ../../include/FloatPointSet.h ../../include/PSIter.h ../../include/BaseIPSIter.h \
d136 3
a138 1
  ../../include/BaseDT.h 
@


1.15
log
@Point is now a template with specializations only.
@
text
@d122 15
@


1.14
log
@*** empty log message ***
@
text
@d17 1
a17 1
HEADERS= IntPoint.h FloatPoint.h
@


1.13
log
@Added copyright notice
y
@
text
@d19 1
a19 1
include /cis/vision/src/iac++/src/gnumake.templ
d61 1
a61 1
	/local/gnu/m4 -DINTPOINT defines.m4 Point.c.m4 | cat -s > $@@
d66 1
a66 1
	/local/gnu/m4 -DINTPOINT defines.m4 Point.h.m4 | cat -s > $@@
d71 1
a71 1
	/local/gnu/m4 -DFLOATPOINT defines.m4 Point.c.m4 | cat -s > $@@
d76 1
a76 1
	/local/gnu/m4 -DFLOATPOINT defines.m4 Point.h.m4 | cat -s > $@@
@


1.12
log
@Changed targets for .C.m4 to .c.m4, but left testXXX.C targets alone.
@
text
@d1 2
@


1.11
log
@Changed clean:: target to only remove LOBJS *.o *~ files
@
text
@d53 1
a53 1
M4_FILES= Point.C.m4 Point.h.m4 defines.m4
d55 1
a55 1
source:			IntPoint.C IntPoint.h FloatPoint.C FloatPoint.h
d57 1
a57 1
IntPoint.C:	defines.m4 Point.C.m4
d59 1
a59 1
	/local/gnu/m4 -DINTPOINT defines.m4 Point.C.m4 | cat -s > $@@
d67 1
a67 1
FloatPoint.C:	defines.m4 Point.C.m4
d69 1
a69 1
	/local/gnu/m4 -DFLOATPOINT defines.m4 Point.C.m4 | cat -s > $@@
@


1.10
log
@*** empty log message ***
@
text
@d7 1
d14 2
a15 2
#LOBJS= Point.o ArithPoint.o LatticePoint.o BitwisePoint.o \
#	IntPoint.o FloatPoint.o
a16 14
HEADERS= Point.h ArithPoint.h LatticePoint.h BitwisePoint.h \
	IntPoint.h FloatPoint.h

PRINT_H= Point.h ArithPoint.h LatticePoint.h BitwisePoint.h \
	IntPoint.m4h FloatPoint.m4h \
	defines.m4h

PRINT_C= Point.m4c ArithPoint.m4c BitwisePoint.m4c LatticePoint.m4c \
	IntPoint.m4c FloatPoint.m4c \
	defines.m4c

XTRACCFLAGS= -pta -ptn


d19 1
a19 2

# The above include of gnumake.templ intoduces a few targets 
d46 1
a46 3
##############################################################################
#	Define Utility targets
##############################################################################
d48 1
a48 4
.m4c.c:
	rm -f $@@
	/local/gnu/m4 defines.m4c $*.m4c | cat -s > $@@
	chmod a-w $@@
a49 4
.m4h.h:
	rm -f $@@
	/local/gnu/m4 defines.m4h $*.m4h | cat -s > $@@
	chmod a-w $@@
d51 1
d53 1
a53 2
print:
	enscript -2rGPps335 $(PRINT_H) $(PRINT_C)
d55 1
d57 4
a60 3
##############################################################################
#	Define targets for the current implementation of Points
##############################################################################
d62 4
a65 8
Point.h:	${INCDIR}/ia.h
ArithPoint.h:	Point.h
LatticePoint.h:	Point.h
BitwisePoint.h:	Point.h
IntPoint.h:	ArithPoint.h LatticePoint.h BitwisePoint.h \
		IntPoint.m4h defines.m4h
FloatPoint.h:	ArithPoint.h LatticePoint.h \
		FloatPoint.m4h defines.m4h
d67 4
d72 4
a75 1
Point.o:	Point.h        ${INCDIR}/ia.h
a76 42
ArithPoint.o:	ArithPoint.h   Point.h
BitwisePoint.o:	BitwisePoint.h Point.h
LatticePoint.o: LatticePoint.h Point.h

IntPoint.o:	ArithPoint.h LatticePoint.h BitwisePoint.h IntPoint.h
FloatPoint.o:	ArithPoint.h LatticePoint.h FloatPoint.h


Point.c:	defines.m4c Point.h Point.m4c

ArithPoint.c:	defines.m4c ArithPoint.h   ArithPoint.m4c
BitwisePoint.c:	defines.m4c BitwisePoint.h BitwisePoint.m4c
LatticePoint.c:	defines.m4c LatticePoint.h LatticePoint.m4c

IntPoint.c:	defines.m4c IntPoint.m4h   IntPoint.m4c
FloatPoint.c:	defines.m4c FloatPoint.m4h FloatPoint.m4c


##############################################################################
#	Test program specific targets and dependency infomation
##############################################################################

IMPLEMENTATION_TESTS = test-point.c \
	test-arith.c test-lattice.c test-bitwise.c \
	test-intpoint.c test-floatpoint.c

REGTESTS= $(basename $(wildcard test???.C))

TESTS= ${REGTESTS} \
	test-addition test-concatenation \
	# test-indexing test-rounding test-relationals 


all: ${TESTS}


${IMPLEMENTATION_TESTS}: test-pts.macros test-pts.externs \
	Point.h \
	ArithPoint.h BitwisePoint.h LatticePoint.h \
	IntPoint.h FloatPoint.h


d80 3
a85 7

test-arith:	test-arith.c ArithPoint.h
test-bitwise:	test-bitwise.c BitwisePoint.h
test-lattice:	test-lattice.c LatticePoint.h
test-intpoint:	test-intpoint.c IntPoint.h
test-floatpoint: test-floatpoint.c FloatPoint.h

d90 1
a90 1
	${LINK.ccv} -o $@@ test-concatenation.o ${LDLIBS}
d117 1
a117 1

d119 1
a119 1
	rm -f ${TESTS} ${LOBJS}
@


1.9
log
@Add stuff to support Point restructing
@
text
@@


1.8
log
@*** empty log message ***
@
text
@a6 1

d13 2
a14 2
LOBJS= IntPoint.o FloatPoint.o
HEADERS= IntPoint.h FloatPoint.h
d16 14
d32 1
d60 3
a62 1
REGTESTS= $(basename $(wildcard test???.C))
d64 4
a67 1
Tests= ${REGTESTS} test-addition test-concatenation  # test-indexing test-rounding test-relationals 
d69 4
a73 1
all: ${TESTS}
d75 2
a76 1
M4_FILES= Point.C.m4 Point.h.m4 defines.m4
a77 1
source:			IntPoint.C IntPoint.h FloatPoint.C FloatPoint.h
d79 3
a81 4
IntPoint.C:	defines.m4 Point.C.m4
	rm -f $@@
	/local/gnu/m4 -DINTPOINT defines.m4 Point.C.m4 | cat -s > $@@
	chmod a-w $@@
d83 8
a90 4
IntPoint.h:	defines.m4 Point.h.m4
	rm -f $@@
	/local/gnu/m4 -DINTPOINT defines.m4 Point.h.m4 | cat -s > $@@
	chmod a-w $@@
a91 4
FloatPoint.C:	defines.m4 Point.C.m4
	rm -f $@@
	/local/gnu/m4 -DFLOATPOINT defines.m4 Point.C.m4 | cat -s > $@@
	chmod a-w $@@
d93 1
a93 4
FloatPoint.h:	defines.m4 Point.h.m4
	rm -f $@@
	/local/gnu/m4 -DFLOATPOINT defines.m4 Point.h.m4 | cat -s > $@@
	chmod a-w $@@
d95 42
a139 3
IntPoint.o: IntPoint.h ${INCDIR}/ia.h 
FloatPoint.o: FloatPoint.h ${INCDIR}/ia.h 

d143 7
d154 1
a154 1
	${LINK.cc} -o $@@ test-concatenation.o ${LDLIBS}
d181 1
a181 1
                  
d183 1
a183 5
	rm -f ${TESTS} ${LOBJS} ${M4_FILES}




@


1.7
log
@*** empty log message ***
@
text
@d46 1
a46 1
TESTS= test-addition test-concatenation  # test-indexing test-rounding test-relationals 
d48 1
d50 1
d77 2
d83 3
d101 17
a117 1
    
@


1.6
log
@CFrontified
improved the m4 stuff
@
text
@@


1.5
log
@gnumake clean will rm -f not only TESTS but
LOBJS and M4_FILES too.
@
text
@d51 1
a51 1
M4_FILES= Point.cc.m4 Point.h.m4 defines.m4
d53 1
a53 1
source:			IntPoint.cc IntPoint.h FloatPoint.cc FloatPoint.h
d55 4
a58 2
IntPoint.cc:		${M4_FILES}
			/local/gnu/m4 -DINTPOINT defines.m4 Point.cc.m4 | cat -s > IntPoint.cc
d60 4
a63 2
IntPoint.h:		${M4_FILES}
			/local/gnu/m4 -DINTPOINT defines.m4 Point.h.m4 | cat -s > IntPoint.h
d65 4
a68 2
FloatPoint.cc:		${M4_FILES}
			/local/gnu/m4 -DFLOATPOINT defines.m4 Point.cc.m4 | cat -s > FloatPoint.cc
d70 4
a73 2
FloatPoint.h:		${M4_FILES}
			/local/gnu/m4 -DFLOATPOINT defines.m4 Point.h.m4 | cat -s > FloatPoint.h
@


1.4
log
@Added "| cat -s" to the m4 derivations to get rid
of all the extra blank lines (divert being deemed 
extraordinarily ugly).
@
text
@d88 1
a88 1
	rm -f ${TESTS}
@


1.3
log
@Made IntPoint.cc,h FloatPoint.cc,h get built automatically
from the m4 files.
@
text
@d46 1
a46 1
TESTS= test-addition # test-indexing test-rounding test-relationals test-concatenation 
d53 2
d56 1
a56 1
			/local/gnu/m4 -DINTPOINT defines.m4 Point.cc.m4 > IntPoint.cc
d59 1
a59 1
			/local/gnu/m4 -DINTPOINT defines.m4 Point.h.m4 > IntPoint.h
d62 1
a62 1
			/local/gnu/m4 -DFLOATPOINT defines.m4 Point.cc.m4 > FloatPoint.cc
d65 1
a65 1
			/local/gnu/m4 -DFLOATPOINT defines.m4 Point.h.m4 > FloatPoint.h
@


1.2
log
@*** empty log message ***
@
text
@a16 2


d46 1
a46 1
TESTS= # test-indexing test-rounding test-relationals test-concatenation 
d51 1
a51 2
IntPoint.o: IntPoint.h ${INCDIR}/ia.h 
FloatPoint.o: FloatPoint.h ${INCDIR}/ia.h 
d53 2
a54 2
test1:	test1.o lib
	${LINK.cc} -o $@@ test1.o ${LDLIBS}
d56 2
a57 2
test2:	test2.o lib
	${LINK.cc} -o $@@ test2.o ${LDLIBS}
d59 2
a60 2
test3:	test3.o lib
	${LINK.cc} -o $@@ test3.o ${LDLIBS}
d62 2
a63 2
test4:	test4.o lib
	${LINK.cc} -o $@@ test4.o ${LDLIBS}
a64 2
test5:	test5.o lib
	${LINK.cc} -o $@@ test5.o ${LDLIBS}
d66 2
a67 2
testints:	testints.o 
		${LINK.cc} -o $@@ testints.o ${LDLIBS}
d69 3
a80 1
    
a87 10
# sample program targets:
#
#all: test1 test2
#
#test1: test1.o
#       ${LINK.cc} -o $@@ test1.o ${LDLIBS}
#
#T2OBJS= test2.o frob.o
#test2: ${T2OBJS}
#       ${LINK.cc} -o $@@ ${T2OBJS} ${LDLIBS}
@


1.1
log
@Initial revision
@
text
@a18 7
all:	FloatPoint.h FloatPoint.cc headers lib 

FloatPoint.h FloatPoint.cc:	IntPoint.h IntPoint.cc
				MakeFloatPoint

.PHONY:	all clean spotless

@
