[Ffmpeg-cvslog] r7252 - trunk/Makefile

mru subversion
Thu Dec 7 20:25:04 CET 2006


Author: mru
Date: Thu Dec  7 20:25:04 2006
New Revision: 7252

Modified:
   trunk/Makefile

Log:
do not use non-standard test -nt


Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Thu Dec  7 20:25:04 2006
@@ -198,9 +198,10 @@
 .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




More information about the ffmpeg-cvslog mailing list