#The Makefile for our Linked List program

 

default:

 

      #Compile the source files

      g++ -c Node.cpp -o Node.o

      g++ -c List.cpp -o List.o

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

 

      #Link the object files

      g++ Node.o List.o driver.o -o driver