CXXFLAGS=-g -Wall -I../include none: @echo 'Please use one of these forms:' @echo ' make all' @echo ' make clean' @echo ' make graphdemo' @echo ' make bfsdemo' @echo ' make bfsdemo2' all: graphdemo bfsdemo bfsdemo2 clean: rm graphdemo bfsdemo bfsdemo2 graphdemo: graphdemo.cc ../include/graph.h \ ../include/oldgraph.h makefile g++ $(CXXFLAGS) -o graphdemo graphdemo.cc 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