# This file coordinates the translation of lab11's driver.

# The following macro MUST be defined with the absolute
#  name of the directory containing library Strings.

CLASSLIB = /homex/adams/classes/c++/MyLib

driver: driver.o Boolean.o Strings.o
	g++ driver.o Boolean.o Strings.o -o replace

driver.o: driver.cc Boolean.h
	g++ -c -I$(CLASSLIB) driver.cc

Boolean.o: Boolean.cc Boolean.h $(CLASSLIB)/Strings.h
	g++ -c -I$(CLASSLIB) Boolean.cc

Strings.o: $(CLASSLIB)/Strings.cc $(CLASSLIB)/Strings.h
	g++ -c -I$(CLASSLIB) $(CLASSLIB)/Strings.cc

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