do not use non-standard test -nt
authorMåns Rullgård <mans@mansr.com>
Thu, 7 Dec 2006 19:25:04 +0000 (19:25 +0000)
committerMåns Rullgård <mans@mansr.com>
Thu, 7 Dec 2006 19:25:04 +0000 (19:25 +0000)
Originally committed as revision 7252 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile

index 929522c3bf11dee195ad16a24b587b8d1b03956d..1bf8ca3432dc93f8d7a14a0940d30b2e84f92d74 100644 (file)
--- 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