SHELL = /bin/sh

SOURCES = \
bfs.stk \
dfs.stk \
scc.stk \
topsort.stk

#CMDS = ${SOURCES:.stk=}
TEXS = ${SOURCES:.stk=.tex}

.SUFFIXES	:	.stk .tex 

#commands:	${SOURCES:.cc=.o}
document:	${SOURCES} ${TEXS}

.stk.tex:
	- run_link $? > ${?:.stk=.tex}

clean:
	- rm -f *.tex
