src/work/makefile
author alpar
Sat, 13 Dec 2003 15:44:50 +0000
changeset 3 272a5677bd6d
parent 2 37117ebbabe2
child 7 0f527d1b9149
permissions -rw-r--r--
- Marci type iterator constructors
- src/demo/bfsdemo.cc: demo for bfs.h
- cosmetical changes
alpar@3
     1
CXXFLAGS=-g -Wall -I../include
alpar@3
     2
alpar@3
     3
none:
alpar@3
     4
	@echo 'Please use one of these forms:'
alpar@3
     5
	@echo '   make all'
alpar@3
     6
	@echo '   make clean'
alpar@3
     7
	@echo '   make graphdemo'
alpar@3
     8
	@echo '   make bfsdemo'
alpar@3
     9
alpar@3
    10
all: graphdemo bfsdemo
alpar@3
    11
alpar@3
    12
clean:
alpar@3
    13
	rm graphdemo bfsdemo
alpar@3
    14
graphdemo: graphdemo.cc ../include/graph.h \
alpar@1
    15
	../include/oldgraph.h makefile
alpar@3
    16
	g++ $(CXXFLAGS) -o graphdemo graphdemo.cc
alpar@3
    17
alpar@3
    18
bfsdemo: bfsdemo.cc ../include/graph.h ../include/bfs.h \
alpar@3
    19
	../include/oldgraph.h makefile
alpar@3
    20
	g++ $(CXXFLAGS) -o bfsdemo bfsdemo.cc