# Makefile for TDD class for Time_C 

CCC = g++


BINARIES=testTime1 testTime2

all: ${BINARIES} tests

tests: testTime1 testTime2
	./testTime1
	./testTime2


testTime1: testTime1.o time.o runTests.o
	${CCC} testTime1.o time.o runTests.o -o $@

testTime2: testTime2.o time.o runTests.o
	${CCC} testTime2.o time.o runTests.o -o $@

time.o: time.h time.cc

runTest.o: runTests.h runTests.cc

clean:
	/bin/rm -f ${BINARIES} *.o core a.out


