alpar@3: CXXFLAGS=-g -Wall -I../include alpar@3: alpar@3: none: alpar@3: @echo 'Please use one of these forms:' alpar@3: @echo ' make all' alpar@3: @echo ' make clean' alpar@3: @echo ' make graphdemo' alpar@3: @echo ' make bfsdemo' alpar@7: @echo ' make bfsdemo2' alpar@3: alpar@7: all: graphdemo bfsdemo bfsdemo2 alpar@3: alpar@3: clean: alpar@7: rm graphdemo bfsdemo bfsdemo2 alpar@7: alpar@3: graphdemo: graphdemo.cc ../include/graph.h \ alpar@1: ../include/oldgraph.h makefile alpar@3: g++ $(CXXFLAGS) -o graphdemo graphdemo.cc alpar@3: alpar@3: bfsdemo: bfsdemo.cc ../include/graph.h ../include/bfs.h \ alpar@3: ../include/oldgraph.h makefile alpar@3: g++ $(CXXFLAGS) -o bfsdemo bfsdemo.cc alpar@7: alpar@7: bfsdemo2: bfsdemo2.cc ../include/graph.h ../include/bfs.h \ alpar@7: ../include/oldgraph.h makefile alpar@7: g++ $(CXXFLAGS) -o bfsdemo2 bfsdemo2.cc