@insertcopying is kikommentezve.
1 CXXFLAGS=-g -Wall -I../include
4 @echo 'Please use one of these forms:'
7 @echo ' make graphdemo'
11 all: graphdemo bfsdemo bfsdemo2
14 rm graphdemo bfsdemo bfsdemo2
16 graphdemo: graphdemo.cc ../include/graph.h \
17 ../include/oldgraph.h makefile
18 g++ $(CXXFLAGS) -o graphdemo graphdemo.cc
20 bfsdemo: bfsdemo.cc ../include/graph.h ../include/bfs.h \
21 ../include/oldgraph.h makefile
22 g++ $(CXXFLAGS) -o bfsdemo bfsdemo.cc
24 bfsdemo2: bfsdemo2.cc ../include/graph.h ../include/bfs.h \
25 ../include/oldgraph.h makefile
26 g++ $(CXXFLAGS) -o bfsdemo2 bfsdemo2.cc