scc

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

commit cd66db0558e949eed6116d0eb4cf0fb11ce3dd61
parent d554870c3e01554b2f845de5603d147a5294e477
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sun,  6 Oct 2019 21:52:19 +0200

[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.

Diffstat:
Msrc/cmd/cc/posix/Makefile | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cmd/cc/posix/Makefile b/src/cmd/cc/posix/Makefile @@ -12,14 +12,14 @@ SYSLST =\ i386-sysv-linux-elf\ amd64-sysv-openbsd-elf\ -TARGETS = $(BINDIR)/scc $(BINDIR)/scpp +TARGETS = $(BINDIR)/scc $(BINDIR)/cpp all: $(TARGETS) $(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 && \