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