all: stack inheritstack templatestack

stack: stack.h stack.cc
	g++ -Wall -o stack stack.cc

inheritstack: inheritstack.h inheritstack.cc list.h list.cc
	g++ -Wall -o inheritstack inheritstack.cc list.cc

templatestack: templatestack.h templatestack.cc
	g++ -Wall -o templatestack templatestack.cc

clean:
	rm stack inheritstack templatestack
