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


1.5
date     92.07.01.13.14.37;  author thoth;  state Exp;
branches ;
next     1.4;

1.4
date     92.06.24.12.12.58;  author thoth;  state Exp;
branches ;
next     1.3;

1.3
date     92.06.22.14.00.09;  author thoth;  state Exp;
branches ;
next     1.2;

1.2
date     92.06.09.11.44.12;  author thoth;  state Exp;
branches ;
next     1.1;

1.1
date     92.06.04.22.15.32;  author thoth;  state Exp;
branches ;
next     ;


desc
@first time we entered the GNUmakefile
@


1.5
log
@put the TESTS variable in the right place.
@
text
@#
# 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= Point.o
HEADERS= Point.h

SIMPLETESTS=test006
TESTS= test1 test2 ${SIMPLETESTS}

include /cis/vision/src/iac++/src/gnumake.templ

# The above include of gnumake.templ intoduces 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.


all: ${TESTS}

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

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

    
clean::
	rm -f test2 test1

Point.o: Point.h  ${INCDIR}/Coord.h ${INCDIR}/ia.h 

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


Point-old.o : Point-old.cc
Point.o : Point.cc Point.h ../../include/Coord.h ../../include/ia.h
helperprototype.o : helperprototype.cc
test1.o : test1.cc
test2.o : test2.cc Point.h ../../include/Coord.h ../../include/ia.h
test3.o : test3.cc
test4.o : test4.cc
tob.o : tob.cc

@


1.4
log
@new gnumake.templ convention
@
text
@d17 3
a47 2

TESTS= test1 test2
@


1.3
log
@added some dependency info
@
text
@d17 1
a17 1
include ${TOP}/src/gnumake.templ
@


1.2
log
@math support is now handled in the template
@
text
@d75 9
@


1.1
log
@Initial revision
@
text
@a47 2
# OTHERLIBS= -lm

@
