[v7,1/4] batctl: Split list of objects in Makefile into separate lines

Message ID 1462812114-16577-1-git-send-email-sven@open-mesh.com (mailing list archive)
State Accepted, archived
Commit 876c536a8f09fe232afad4ad28dbab20d8ac4db6
Delegated to: Marek Lindner
Headers

Commit Message

Sven Eckelmann May 9, 2016, 4:41 p.m. UTC
  From: Sven Eckelmann <sven.eckelmann@open-mesh.com>

The line of objects which are required to compile batctl gets longer and
becomes harder to read. Instead save each object on its own line to make it
easier to edit and easier to solve conflicts when multiple patches modify
the list of objects.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Forwarded: https://patchwork.open-mesh.org/patch/16078/
---
 Makefile | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
  

Comments

Marek Lindner May 11, 2016, 8:14 a.m. UTC | #1
On Monday, May 09, 2016 18:41:51 Sven Eckelmann wrote:
> From: Sven Eckelmann <sven.eckelmann@open-mesh.com>
> 
> The line of objects which are required to compile batctl gets longer and
> becomes harder to read. Instead save each object on its own line to make it
> easier to edit and easier to solve conflicts when multiple patches modify
> the list of objects.
> 
> Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
> 
> Forwarded: https://patchwork.open-mesh.org/patch/16078/
> ---
>  Makefile | 14 +++++++++++++-
>  1 file changed, 13 insertions(+), 1 deletion(-)

Applied in revision 876c536.

Thanks,
Marek
  

Patch

diff --git a/Makefile b/Makefile
index b82c0c6..a037847 100755
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,19 @@  export CONFIG_BATCTL_BISECT=n
 
 # batctl build
 BINARY_NAME = batctl
-OBJ = main.o bat-hosts.o functions.o sys.o debug.o ping.o traceroute.o tcpdump.o  hash.o debugfs.o ioctl.o list-batman.o translate.o
+OBJ += bat-hosts.o
+OBJ += debugfs.o
+OBJ += debug.o
+OBJ += functions.o
+OBJ += hash.o
+OBJ += ioctl.o
+OBJ += list-batman.o
+OBJ += main.o
+OBJ += ping.o
+OBJ += sys.o
+OBJ += tcpdump.o
+OBJ += traceroute.o
+OBJ += translate.o
 OBJ_BISECT = bisect_iv.o
 MANPAGE = man/batctl.8