diff --git a/Makefile b/Makefile
index 3f352f2009f83d81266c75260e7f01018b8211af..b00651b7d731757b9b319abe3e3a4b2206e13a6b 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ qr.tex: README.md config/vars | .switch-gls
 .switch-gls:
 	@touch .switch-gls
 
-$(BOOK).pdf: $(wildcard *.tex) $(wildcard config/*.sty) | qr.tex
+$(BOOK).pdf: $(DEPS) | qr.tex
 	@$(COMPILER) main.tex
 
 clean: