# ordered sequence makefile

SRC = Date.C Date_OS.C tstDtOS.C OrderedSeq.C SortKey.C \
      TLine_OS.C tstTLnOS.C TextLines.C dDate_OS.C

HEADER = Date.h Date_OS.h OrderedSeq.h SortKey.h TLine_OS.h \
	 dDate_OS.h TextLines.h

DOBJ = tstDtOS.o Date.o dDate_OS.o OrderedSeq.o
DATEOBJ = tstDtOS.o Date.o Date_OS.o OrderedSeq.o
TEXTOBJ =  OrderedSeq.o SortKey.o TLine_OS.o TextLines.o tstTLnOS.o

.SUFFIXES: .h .C
.C.o:
	CC  -c $<
.h.o:
	CC  -c $*.C

Date_OS.o : Date.h OrderedSeq.h
	CC -c Date_OS.C

dDate_OS.o : Date.h OrderedSeq.h
	CC -c dDate_OS.C

TLine_OS.o : TextLines.h OrderedSeq.h SortKey.h
	CC -c TLine_OS.C

#date test

texttest:  $(TEXTOBJ)
	CC $(TEXTOBJ) -o texttest

datetest:  $(DATEOBJ)
	CC $(DATEOBJ) -o datetest

dtest:  $(DOBJ)
	CC $(DOBJ) -o datetest
