equal
deleted
inserted
replaced
1 graphdemo: graphdemo.cc ../include/graph.h ../include/bfs.h \ |
1 CXXFLAGS=-g -Wall -I../include |
|
2 |
|
3 none: |
|
4 @echo 'Please use one of these forms:' |
|
5 @echo ' make all' |
|
6 @echo ' make clean' |
|
7 @echo ' make graphdemo' |
|
8 @echo ' make bfsdemo' |
|
9 |
|
10 all: graphdemo bfsdemo |
|
11 |
|
12 clean: |
|
13 rm graphdemo bfsdemo |
|
14 graphdemo: graphdemo.cc ../include/graph.h \ |
2 ../include/oldgraph.h makefile |
15 ../include/oldgraph.h makefile |
3 g++ -g -I../include -o graphdemo graphdemo.cc |
16 g++ $(CXXFLAGS) -o graphdemo graphdemo.cc |
|
17 |
|
18 bfsdemo: bfsdemo.cc ../include/graph.h ../include/bfs.h \ |
|
19 ../include/oldgraph.h makefile |
|
20 g++ $(CXXFLAGS) -o bfsdemo bfsdemo.cc |