scc

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

commit 3a6a259bac2d5838fe91741e39cef1dd6a66225a
parent 74fc24f79803f1e36e99da05f19e70a2d588cfa9
Author: Quentin Rameau <quinq@fifth.space>
Date:   Sat, 28 May 2016 19:15:52 +0200

Makefile: strip only installed binaries

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

diff --git a/Makefile b/Makefile @@ -15,7 +15,6 @@ all: cp -f cc1/cc1 bin/cc1 cp -f cc2/cc2 bin/cc2 cp -f driver/$(DRIVER)/scc bin/scc - strip bin/cc1 bin/cc2 bin/scc multi: for i in $(ARCHS); \ @@ -32,7 +31,6 @@ $(ARCHS): done ln -f cc1/cc1 bin/cc1-$@ ln -f cc2/cc2 bin/cc2-$@ - strip bin/cc1-$@ bin/cc2-$@ install: all mkdir -p $(PREFIX)/libexec/scc/ @@ -40,8 +38,8 @@ install: all cp -f bin/cc* $(PREFIX)/libexec/scc/ cp -f bin/cc1 $(PREFIX)/bin/cpp cp -f bin/scc $(PREFIX)/bin/ - cd $(PREFIX)/libexec/scc/ && chmod 755 cc* - cd $(PREFIX)/bin && chmod 755 cpp scc + cd $(PREFIX)/libexec/scc/ && chmod 755 cc* && strip cc* + cd $(PREFIX)/bin && chmod 755 cpp scc && strip cpp uninstall: rm -rf $(PREFIX)/libexec/scc/