# This Makefile coordinates the translation a driver program 
# that tests the new data type Rock in Lab Exercise 4.1 and
# Project 4.1.

rocktester: rocktester.o Rock.o
	g++ rocktester.o Rock.o -o rocktester

rocktester.o: rocktester.cpp Rock.h
	g++ -c rocktester.cpp

Rock.o: Rock.cpp Rock.h
	g++ -c Rock.cpp

clean:
	rm -f rocktester *.o *~ *#
