scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 83fbb691a82eba4954e59e7044cb43f8e9a3a565
parent 4f9918f90b7d9085a912f4b38c14f8e8e4894791
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 23 Feb 2017 14:50:48 +0100

Change cpp to scpp

We are not in a state where we should use scc cpp instead of
the system cpp, and having this name can create some problems
if $HOME/bin is the first in the PATH.

Diffstat:
MMakefile | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -33,18 +33,18 @@ install: all mkdir -p $(DESTDIR)/$(PREFIX)/bin/ mkdir -p $(DESTDIR)/$(PREFIX)/include/scc/ cp -f bin/cc?-* $(DESTDIR)/$(PREFIX)/libexec/scc/ - cp -f bin/cpp.sh $(DESTDIR)/$(PREFIX)/bin/cpp + cp -f bin/cpp.sh $(DESTDIR)/$(PREFIX)/bin/scpp cp -f bin/scc $(DESTDIR)/$(PREFIX)/bin/ cp -fr libc/include/* $(DESTDIR)/$(PREFIX)/include/scc/ find $(DESTDIR)/$(PREFIX)/include/scc/ -type f | xargs chmod 644 cd $(DESTDIR)/$(PREFIX)/libexec/scc/ && chmod 755 cc* && strip cc* - cd $(DESTDIR)/$(PREFIX)/bin && chmod 755 cpp scc && strip scc + cd $(DESTDIR)/$(PREFIX)/bin && chmod 755 scpp scc && strip scc uninstall: rm -rf $(DESTDIR)/$(PREFIX)/include/scc/ rm -rf $(DESTDIR)/$(PREFIX)/libexec/scc/ rm -f $(DESTDIR)/$(PREFIX)/bin/scc - rm -f $(DESTDIR)/$(PREFIX)/bin/cpp + rm -f $(DESTDIR)/$(PREFIX)/bin/scpp clean-helper: for i in $(DIRS); \