--- /dev/null
+The objective of this document is to propose a testing approach for the
+Transmission Control Protocol as described in RFC793~\cite{rfc793}, from now on
+\textit{TCP}.
-SHELL:=/bin/bash
-LATEX=pdflatex
+LATEX:=pdflatex
-OUTPUT:=tt.pdf
-BASEOUTPUT:=$(basename $(OUTPUT))
+DOCUMENT:=tt
+SOURCES:=$(filter-out preamble.tex,$(shell ls *.tex))
-.SECONDARY: $(addsuffix .fmt,$(BASEOUTPUT))
+.SECONDARY: $(addsuffix .fmt,$(DOCUMENT))
.PHONY: clobber graphs
-all: $(OUTPUT)
+all: $(DOCUMENT).pdf
-%.pdf: $(SOURCES) %.fmt
+%.pdf: %.tex %.fmt $(SOURCES)
$(LATEX) $(basename $@)
bibtex $(basename $@)
$(LATEX) $(basename $@)
$(LATEX) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump"
clean:
- $(RM) -v $(addprefix $(BASEOUTPUT).,fmt aux bbl blg dvi log out toc pdf)
+ $(RM) -v $(addprefix $(DOCUMENT).,fmt aux bbl blg dvi log out toc pdf)