makefile: coverage aktivieren wenn @ tilab
[hwmod.git] / spec / Makefile
index 6b9d295c30714ec33312bf6481fd34674df43f90..99df66ef17f3192be3be84200679717556005014 100644 (file)
@@ -1,9 +1,9 @@
 SHELL := bash
-PROJECT = spec
+PROJECT = speck
 
-all: protocol
+all: $(PROJECT).pdf
 
-protocol: $(PROJECT).tex $(subst .dia,.png,$(shell ls *.dia)) $(subst .tex,.pdf,$(shell ls sm/*.tex))
+$(PROJECT).pdf: $(PROJECT).tex $(subst .dia,.png,$(shell ls *.dia)) $(subst .tex,.pdf,$(shell ls sm/*.tex)) ProtocolHeader.sty
        pdflatex $(PROJECT).tex
        pdflatex $(PROJECT).tex
 
@@ -19,4 +19,4 @@ protocol: $(PROJECT).tex $(subst .dia,.png,$(shell ls *.dia)) $(subst .tex,.pdf,
        rm sm/{*.dvi,*.ps,*.aux,*.log}
 
 clean:
-       -rm -f {,sm/}{*.aux,*.log,*.dvi,*.toc,*.out,*.pdf,*.png}
+       -rm -f {,sm/}{*.aux,*.log,*.dvi,*.toc,*.out,*.ps,*.png}