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 929522c..1bf8ca3 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