ref: 7411192014bae74906a1f1116413a4f578bfaebd
parent: 61cec444584284bf3e9ca8aa8fbcbd442cbff56c
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sun Oct 6 17:52:19 EDT 2019
[cpp] Rename scpp to cpp Name scpp was used to avoid unintended use of scc cpp. As Scc can be used without being installed, this is not an issue anymore.
--- a/src/cmd/cc/posix/Makefile
+++ b/src/cmd/cc/posix/Makefile
@@ -12,7 +12,7 @@
i386-sysv-linux-elf\
amd64-sysv-openbsd-elf\
-TARGETS = $(BINDIR)/scc $(BINDIR)/scpp
+TARGETS = $(BINDIR)/scc $(BINDIR)/cpp
all: $(TARGETS)
@@ -19,7 +19,7 @@
$(BINDIR)/scc: scc.o
$(CC) $(SCC_LDFLAGS) scc.o -lscc -o $@
-$(BINDIR)/scpp: cpp.sh
+$(BINDIR)/cpp: cpp.sh
trap "rm -f $$$$.sh" 0 2 3;\
rm -f $@ ;\
sed "s%@PREFIX@%$(PREFIX)%" < cpp.sh > $$$$.sh && \