Provide install-strip target in Makefile

master
Thomas Preud'homme 2014-01-04 09:48:15 +08:00
parent 9e79b18bca
commit 0382131c6f
1 changed files with 3 additions and 0 deletions

View File

@ -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)"