CC = g++ CFLAGS = -Wall All: execute execute: main.o Calculator.o ActiveArty.o Container.o $(CC) $(CFLAGS) main.o ActiveArty.o Container.o Calculator.o -o execute main.o: main.cpp $(CC) $(CFLAGS) -c main.cpp -o main.o Calculator.o: Calculator.cpp $(CC) $(CFLAGS) -c Calculator.cpp -o Calculator.o Container.o: Container.cpp $(CC) $(CFLAGS) -c Container.cpp -o Container.o ActiveArty.o: ActiveArty.cpp $(CC) $(CFLAGS) -c ActiveArty.cpp -o ActiveArty.o clean: @echo "Cleaning up..." rm execute rm -rf *.o execute rebuild: clean execute run: execute ./execute