author | alpar |
Sat, 13 Dec 2003 15:44:50 +0000 | |
changeset 3 | 272a5677bd6d |
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