Merge branch 'master' of gitlab.science.ru.nl:mlubbers/ssproject1617
[ssproject1617.git] / report / Makefile
index 9ba9f50..b12d7fd 100644 (file)
@@ -6,6 +6,7 @@ LATEXFLAGS:=-file-line-error -halt-on-error -no-shell-escape
 TEXS:=$(wildcard *.tex)
 
 .PHONY: all
+.SECONDARY: $(DOC).fmt
 
 all: $(DOC).pdf
 
@@ -20,5 +21,8 @@ all: $(DOC).pdf
                $(LATEX) $(LATEXFLAGS) $< || true
 
 clean:
-       $(RM) $(addprefix $(DOC).,aux log fmt toc bbl blg mlog run.xml pdf out)\
+       $(RM) $(addprefix $(DOC).,aux log fmt toc bbl blg mlog run.xml out)\
                $(DOC)-blx.bib logo.png
+
+clobber: clean
+       $(RM) $(DOC).pdf