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