changeset 28503:3d22c6da29c9

Use addprefix and addsuffix functions to generate TOOLS variable.
author diego
date Thu, 12 Feb 2009 12:13:07 +0000
parents 514300a59359
children b983d65e840c
files Makefile
diffstat 1 files changed, 1 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Feb 12 00:12:10 2009 +0000
+++ b/Makefile	Thu Feb 12 12:13:07 2009 +0000
@@ -985,16 +985,7 @@
 testsclean:
 	rm -f $(TESTS)
 
-TOOLS = TOOLS/alaw-gen$(EXESUF) \
-        TOOLS/asfinfo$(EXESUF) \
-        TOOLS/avi-fix$(EXESUF) \
-        TOOLS/avisubdump$(EXESUF) \
-        TOOLS/compare$(EXESUF) \
-        TOOLS/dump_mp4$(EXESUF) \
-        TOOLS/movinfo$(EXESUF) \
-        TOOLS/netstream$(EXESUF) \
-        TOOLS/subrip$(EXESUF) \
-        TOOLS/vivodump$(EXESUF) \
+TOOLS = $(addsuffix $(EXESUF),$(addprefix TOOLS/,alaw-gen asfinfo avi-fix avisubdump compare dump_mp4 movinfo netstream subrip vivodump))
 
 ifdef ARCH_X86
 TOOLS += TOOLS/modify_reg$(EXESUF)