driver: driver.o BST2.o Data.o QueueP.o
	g++ -o driver driver.o BST2.o Data.o QueueP.o

driver.o: driver.cpp BST2.h Data.h
	g++ -c driver.cpp

BST2.o: BST2.cpp BST2.h Data.h
	g++ -c BST2.cpp

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

QueueP.o: QueueP.cpp QueueP.h BST2.h Data.h
	g++ -c QueueP.cpp

