src/work/makefile
author alpar
Tue, 16 Dec 2003 16:19:08 +0000
changeset 6 b63d1bc367f7
parent 2 37117ebbabe2
child 7 0f527d1b9149
permissions -rw-r--r--
!!!Tests!!!
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