# HG changeset patch # User alpar # Date 1071597172 0 # Node ID 0f527d1b9149b9c2e28c95b7d98fd7919544cf76 # Parent b63d1bc367f79ffc1b9f8ebf5a1f3df90d983fe0 . diff -r b63d1bc367f7 -r 0f527d1b9149 src/work/makefile --- a/src/work/makefile Tue Dec 16 16:19:08 2003 +0000 +++ b/src/work/makefile Tue Dec 16 17:52:52 2003 +0000 @@ -6,11 +6,13 @@ @echo ' make clean' @echo ' make graphdemo' @echo ' make bfsdemo' + @echo ' make bfsdemo2' -all: graphdemo bfsdemo +all: graphdemo bfsdemo bfsdemo2 clean: - rm graphdemo bfsdemo + rm graphdemo bfsdemo bfsdemo2 + graphdemo: graphdemo.cc ../include/graph.h \ ../include/oldgraph.h makefile g++ $(CXXFLAGS) -o graphdemo graphdemo.cc @@ -18,3 +20,7 @@ bfsdemo: bfsdemo.cc ../include/graph.h ../include/bfs.h \ ../include/oldgraph.h makefile g++ $(CXXFLAGS) -o bfsdemo bfsdemo.cc + +bfsdemo2: bfsdemo2.cc ../include/graph.h ../include/bfs.h \ + ../include/oldgraph.h makefile + g++ $(CXXFLAGS) -o bfsdemo2 bfsdemo2.cc