diff --git a/Makefile b/Makefile
index bc4f523db32e228fd02dd97c13c0d4b9175a370e..70d2b6dd9dcf1ea9e26cc94c16c8202bd4541331 100644
--- a/Makefile
+++ b/Makefile
@@ -9,4 +9,4 @@ km3net-dataformat-specifications: km3net-dataformat-specifications.tex #$(SPEC_T
 #	python3 $< > $@
 
 clean:
-	rm -f *.pdf *.toc *.aux *.fdb_latexmk *.fls *.log
+	rm -rf build