diff --git a/Makefile b/Makefile index 929522c3bf11dee195ad16a24b587b8d1b03956d..1bf8ca3432dc93f8d7a14a0940d30b2e84f92d74 100644 --- a/Makefile +++ b/Makefile @@ -198,9 +198,10 @@ endif .depend: $(SRCS) version.h $(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $(filter-out %.h,$^) 1>.depend -.libs: lib - @test -f .libs || touch .libs - @for i in $(DEP_LIBS) ; do if test $$i -nt .libs ; then touch .libs; fi ; done +$(DEP_LIBS): lib + +.libs: $(DEP_LIBS) + touch $@ clean: $(MAKE) -C libavutil clean