| Rev | Line |  | 
|---|
| [3] | 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' | 
|---|
| [7] | 9 | @echo '   make bfsdemo2' | 
|---|
| [3] | 10 |  | 
|---|
| [7] | 11 | all: graphdemo bfsdemo bfsdemo2 | 
|---|
| [3] | 12 |  | 
|---|
|  | 13 | clean: | 
|---|
| [7] | 14 | rm graphdemo bfsdemo bfsdemo2 | 
|---|
|  | 15 |  | 
|---|
| [3] | 16 | graphdemo: graphdemo.cc ../include/graph.h \ | 
|---|
| [1] | 17 | ../include/oldgraph.h makefile | 
|---|
| [3] | 18 | g++ $(CXXFLAGS) -o graphdemo graphdemo.cc | 
|---|
|  | 19 |  | 
|---|
|  | 20 | bfsdemo: bfsdemo.cc ../include/graph.h ../include/bfs.h \ | 
|---|
|  | 21 | ../include/oldgraph.h makefile | 
|---|
|  | 22 | g++ $(CXXFLAGS) -o bfsdemo bfsdemo.cc | 
|---|
| [7] | 23 |  | 
|---|
|  | 24 | bfsdemo2: bfsdemo2.cc ../include/graph.h ../include/bfs.h \ | 
|---|
|  | 25 | ../include/oldgraph.h makefile | 
|---|
|  | 26 | g++ $(CXXFLAGS) -o bfsdemo2 bfsdemo2.cc | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.