diff --git a/Makefile b/Makefile
index e420818b18d73b2dab2b3abff0409e51a7b2f323..94537e5fe723e285d3ac898a5665f98b900e3fac 100644
--- a/Makefile
+++ b/Makefile
@@ -210,7 +210,7 @@ ifeq ($(BUILD_VHOOK),yes)
 endif
 
 .depend: $(SRCS) version.h
-	$(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $^ 1>.depend
+	$(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $(SRCS) 1>.depend
 
 .libs: lib
 	@test -f .libs || touch .libs