scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 9da053dd5d48d8045193f5377ac442b50ecdebae
parent f1e10a17c6fa66b896f88a12fde3623d6b615dbd
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 28 Aug 2019 15:59:36 +0100

[rules] Use a simple tab instead of aligment

Aligment was creating nasty spaces in the command line
that are minimized using tabs while it keeps readbility.

Diffstat:
Mscripts/rules.mk | 47+++++++++++++++++++++++++----------------------
1 file changed, 25 insertions(+), 22 deletions(-)

diff --git a/scripts/rules.mk b/scripts/rules.mk @@ -15,7 +15,7 @@ CRTDIR = $(PROJECTDIR)/lib/scc LIBCDIR = $(CRTDIR)/$(ARCH)-$(SYS)/ ENVIRON = $(SCRIPTDIR)/env.sh -INCLUDE = -I$(INCDIR)/scc \ +INCLUDE = -I$(INCDIR)/scc CC = $(CROSS_COMPILE)$(COMP) AS = $(CROSS_COMPILE)$(ASM) @@ -23,27 +23,30 @@ LD = $(CROSS_COMPILE)$(LINKER) RL = $(CROSS_COMPILE)$(RANLIB) AR = $(CROSS_COMPILE)$(ARCHIVE) -SCC_CFLAGS = $(MORECFLAGS) \ - $(TOOLCFLAGS) \ - $(HOSTCFLAGS) \ - $(SYSCFLAGS) \ - $(INCLUDE) \ - -g \ - $(CFLAGS) - -SCC_LDFLAGS = $(MORELFLAGS) \ - $(TOOLLDFLAGS) \ - $(HOSTLDFLAGS) \ - $(SYSLDFLAGS) \ - -L$(LIBDIR) \ - -g \ - $(LDFLAGS) - -SCC_ASFLAGS = $(MOREASFLAGS) \ - $(TOOLASFLAGS) \ - $(HOSTASFLAGS) \ - $(SYSASFLAGS) \ - $(ASFLAGS) +SCC_CFLAGS =\ + $(MORECFLAGS)\ + $(TOOLCFLAGS)\ + $(HOSTCFLAGS)\ + $(SYSCFLAGS)\ + $(INCLUDE)\ + -g\ + $(CFLAGS) + +SCC_LDFLAGS =\ + $(MORELFLAGS)\ + $(TOOLLDFLAGS)\ + $(HOSTLDFLAGS)\ + $(SYSLDFLAGS)\ + -L$(LIBDIR)\ + -g \ + $(LDFLAGS) + +SCC_ASFLAGS =\ + $(MOREASFLAGS)\ + $(TOOLASFLAGS)\ + $(HOSTASFLAGS)\ + $(SYSASFLAGS)\ + $(ASFLAGS) # helper macro to run over all the directories FORALL = +@set -e ;\