[hackers] [scc] Makefile: strip only installed binaries || Quentin Rameau
commit 3a6a259bac2d5838fe91741e39cef1dd6a66225a
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Sat May 28 19:15:52 2016 +0200
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Wed Jun 1 11:39:32 2016 +0200
Makefile: strip only installed binaries
diff --git a/Makefile b/Makefile
index 4e024d5..afd40b7 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -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); \
_AT_@ -32,7 +31,6 @@ $(ARCHS):
done
ln -f cc1/cc1 bin/cc1-$_AT_
ln -f cc2/cc2 bin/cc2-$_AT_
- strip bin/cc1-$_AT_ bin/cc2-$@
install: all
mkdir -p $(PREFIX)/libexec/scc/
_AT_@ -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/
Received on Wed Jun 01 2016 - 11:40:00 CEST
This archive was generated by hypermail 2.3.0
: Wed Jun 01 2016 - 11:48:15 CEST