CXXFLAGS = -ansi -Wpedantic

TARGETS = IntTest1 IntTest2 IntTest3 \
          PolyTestV1 PolyTestV2 PolyTestV3 PolyTestV4 \
          PolyTestT1 PolyTestT2 PolyTestT3 PolyTestT4

all:		$(TARGETS)

IntTest1:	IntTest1.cpp IntLink.h

IntTest2:	IntTest2.cpp IntLink.h

IntTest3:	IntTest3.cpp IntLink.h

PolyTestV1:	PolyTestV1.cpp PolyLinkV.h

PolyTestV2:	PolyTestV2.cpp PolyLinkV.h

PolyTestV3:	PolyTestV3.cpp PolyLinkV.h

CompIntV.o:	CompIntV.cpp CompIntV.h ComparerV.h

PolyTestV4:	PolyTestV4.cpp PolyLinkV.h CompIntV.o ComparerV.h

PolyTestT1:	PolyTestT1.cpp PolyLinkT.h

PolyTestT2:	PolyTestT2.cpp PolyLinkT.h

PolyTestT3:	PolyTestT3.cpp PolyLinkT.h

CompIntT.o:	CompIntT.cpp CompIntT.h ComparerT.h

PolyTestT4:	PolyTestT4.cpp PolyLinkT.h CompIntT.o ComparerT.h

clean:
	rm -f $(TARGETS) *~


