aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2014-01-04 09:48:15 +0800
committerThomas Preud'homme <robotux@celest.fr>2014-01-04 09:48:45 +0800
commit0382131c6fc7510f664f300ee74d5a97e93d773d (patch)
treec1c9b98eddcaf097eab8eef62bcbafd2fee603d1
parent9e79b18bca641b12b6b12e5cec46202f6d6fad65 (diff)
downloadtinycc-0382131c6fc7510f664f300ee74d5a97e93d773d.tar.gz
tinycc-0382131c6fc7510f664f300ee74d5a97e93d773d.tar.bz2
Provide install-strip target in Makefile
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ce151e1..24a7c09 100644
--- a/Makefile
+++ b/Makefile
@@ -230,6 +230,9 @@ else
INSTALLBIN=$(INSTALL)
endif
+install-strip: install
+ strip $(foreach PROG,$(PROGS),"$(bindir)"/$(PROG))
+
ifndef CONFIG_WIN32
install: $(PROGS) $(TCCLIBS) $(TCCDOCS)
mkdir -p "$(bindir)"