# This is a makefile

 

default:

 

#Compile the source files into object files

      g++ -c Dog.cpp -o Dog.o

      g++ -c driver.cpp -o driver.o

 

#Link the object files

      g++ Dog.o driver.o -o driver