all: proj5 testll
	@echo Done.

testll: testll.o
	g++ -Wall -o testll testll.o -L/usr/local/lib -lg++

proj5: main.o dir.o
	g++ -Wall -o proj5 main.o dir.o -L/usr/local/lib -lg++

main.o: main.cc
	g++ -Wall -c -o main.o main.cc
dir.o: dir.cc
	g++ -Wall -c -o dir.o dir.cc
testll.o: testll.cc
	g++ -Wall -c -o testll.o testll.cc
