src/work/makefile
changeset 7 0f527d1b9149
parent 3 272a5677bd6d
child 34 2b607665c9e2
     1.1 --- a/src/work/makefile	Tue Dec 16 16:19:08 2003 +0000
     1.2 +++ b/src/work/makefile	Tue Dec 16 17:52:52 2003 +0000
     1.3 @@ -6,11 +6,13 @@
     1.4  	@echo '   make clean'
     1.5  	@echo '   make graphdemo'
     1.6  	@echo '   make bfsdemo'
     1.7 +	@echo '   make bfsdemo2'
     1.8  
     1.9 -all: graphdemo bfsdemo
    1.10 +all: graphdemo bfsdemo bfsdemo2
    1.11  
    1.12  clean:
    1.13 -	rm graphdemo bfsdemo
    1.14 +	rm graphdemo bfsdemo bfsdemo2
    1.15 +
    1.16  graphdemo: graphdemo.cc ../include/graph.h \
    1.17  	../include/oldgraph.h makefile
    1.18  	g++ $(CXXFLAGS) -o graphdemo graphdemo.cc
    1.19 @@ -18,3 +20,7 @@
    1.20  bfsdemo: bfsdemo.cc ../include/graph.h ../include/bfs.h \
    1.21  	../include/oldgraph.h makefile
    1.22  	g++ $(CXXFLAGS) -o bfsdemo bfsdemo.cc
    1.23 +
    1.24 +bfsdemo2: bfsdemo2.cc ../include/graph.h ../include/bfs.h \
    1.25 +	../include/oldgraph.h makefile
    1.26 +	g++ $(CXXFLAGS) -o bfsdemo2 bfsdemo2.cc