CXX = c++ RM = rm all: dfs test doc doc: doxygen cd doc/latex ; make dfs: graph_scanning.o dfs.cxx graph_scanning.h $(CXX) -o dfs dfs.cxx graph_scanning.o graph_scanning.o: graph_scanning.cxx graph_scanning.h $(CXX) -c -o graph_scanning.o graph_scanning.cxx clean: $(RM) -f graph_scanning.o dfs distclean: clean $(RM) -f *~ $(RM) -rf doc test: dfs ./dfs print test.gph 0 ./dfs dfs test.gph 0 ./dfs scan test.gph 0 4