diff --git a/contrib/NR/Makefile b/contrib/NR/Makefile
index 5038ee04c783da7d0e57a99985032ada3e41ddc7..a2f6d416eeec06685b9030bb3781fe49b025578f 100644
--- a/contrib/NR/Makefile
+++ b/contrib/NR/Makefile
@@ -47,3 +47,14 @@ depend:
 	rm -f Makefile.new
 
 # DO NOT DELETE THIS LINE
+brent.o: brent.cpp nrutil.h
+dpythag.o: dpythag.cpp nrutil.h
+dsvdcmp.o: dsvdcmp.cpp nrutil.h
+fdjac.o: fdjac.cpp nrutil.h
+fmin.o: fmin.cpp nrutil.h
+lnsrch.o: lnsrch.cpp nrutil.h
+lubksb.o: lubksb.cpp
+ludcmp.o: ludcmp.cpp nrutil.h
+mnbrak.o: mnbrak.cpp nrutil.h
+newt.o: newt.cpp nrutil.h
+nrutil.o: nrutil.cpp ../../Common/Message.h ../../Common/GmshClient.h