H = Node.h Tree.h

C = Tree.cc main.cc

CXX = g++ -std=c++17 -pedantic -Wall -g # -O2

O=$(C:.cc=.o)
main: $(O)
	$(CXX) $(O) -o main
%.o: %.cc $(H) Makefile
	$(CXX) -c $<
clean:
	rm -f a.out core $(O) main
