[x264-devel] [PATCH 2/9] cosmetic: Make .depend generation foreach loop more readable
Stephen Hutchinson
qyot27 at gmail.com
Sat Apr 26 23:45:16 CEST 2014
---
Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 6afb5ef..5b13351 100644
--- a/Makefile
+++ b/Makefile
@@ -201,7 +201,9 @@ $(OBJS) $(OBJASM) $(OBJSO) $(OBJCLI) $(OBJCHK): .depend
.depend: config.mak
@rm -f .depend
- @$(foreach SRC, $(addprefix $(SRCPATH)/, $(SRCS) $(SRCCLI) $(SRCSO)), $(DEPCC) $(CFLAGS) $(SRC) $(DEPMT) $(SRC:$(SRCPATH)/%.c=%.o) $(DEPMM) 1>> .depend;)
+ @$(foreach SRC, $(addprefix $(SRCPATH)/, $(SRCS) $(SRCCLI) $(SRCSO)), \
+ $(DEPCC) $(CFLAGS) $(SRC) $(DEPMT) \
+ $(SRC:$(SRCPATH)/%.c=%.o) $(DEPMM) 1>> .depend;)
config.mak:
./configure
--
1.9.1
More information about the x264-devel
mailing list