all: main.cpp book.o
	c++ main.cpp book.o
 
book.o: book.cpp book.h
	c++ -c book.cpp
 
clean:
	rm -f *.o *~ *.*~ a.out