scc

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

commit c056afc52c0d449a0251ebd05df7dbed65b32124
parent 9cc635ebecd92854002e0e0ec56d7750425648a9
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 29 Oct 2024 20:45:59 +0100

build: Use + in recursive calls to make

Some make implementations understand that an action tagged with +
is a recursive make because the action will be executed even in
the case using the option -n, that usually is only meaningful in
the case of recursive make invocations.

Diffstat:
Msrc/cmd/scc-as/Makefile | 4++--
Msrc/cmd/scc-cc/cc2/Makefile | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/cmd/scc-as/Makefile b/src/cmd/scc-as/Makefile @@ -27,8 +27,8 @@ TARGET =\ MORE_LDLIBS = -lscc -lmach all: - $(MAKE) $(DIRS) - $(MAKE) $(TARGET) + +@$(MAKE) $(DIRS) + +@$(MAKE) $(TARGET) @cp as-* $(LIBEXEC)/scc @cp scc-as $(BINDIR) diff --git a/src/cmd/scc-cc/cc2/Makefile b/src/cmd/scc-cc/cc2/Makefile @@ -31,8 +31,8 @@ TARGET =\ cc2-z80-scc\ all: - $(MAKE) $(DIRS) - $(MAKE) $(TARGET) + +@$(MAKE) $(DIRS) + +@$(MAKE) $(TARGET) @cp $(TARGET) $(LIBEXEC)/scc main.o: error.h