author | alpar |
Tue, 16 Dec 2003 16:19:08 +0000 | |
changeset 6 | b63d1bc367f7 |
parent 2 | 37117ebbabe2 |
child 7 | 0f527d1b9149 |
permissions | -rw-r--r-- |
1 CXXFLAGS=-g -Wall -I../include
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'
10 all: graphdemo bfsdemo
12 clean:
13 rm graphdemo bfsdemo
14 graphdemo: graphdemo.cc ../include/graph.h \
15 ../include/oldgraph.h makefile
16 g++ $(CXXFLAGS) -o graphdemo graphdemo.cc
18 bfsdemo: bfsdemo.cc ../include/graph.h ../include/bfs.h \
19 ../include/oldgraph.h makefile
20 g++ $(CXXFLAGS) -o bfsdemo bfsdemo.cc