diff options
author | H. Peter Anvin <hpa@zytor.com> | 2011-05-09 20:02:27 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2011-05-09 20:02:27 -0700 |
commit | 2613174223371677d0a701a69cb7468947940d65 (patch) | |
tree | 0341dc40c1833d3fa017846f3cd1c4bc04f52fdd /Makefile | |
parent | b0e7c325933396ff42b38c097a3a7142625b6ab7 (diff) | |
download | syslinux-2613174223371677d0a701a69cb7468947940d65.tar.gz syslinux-2613174223371677d0a701a69cb7468947940d65.tar.xz syslinux-2613174223371677d0a701a69cb7468947940d65.zip |
Add "make strip" target
Add a "make strip" target, to make doing the official build easier.
We want the official build to have stripped binaries for size reasons,
so do it right and make it an actual build target.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -98,6 +98,13 @@ installer: installer-local: $(ITARGET) $(BINFILES) +strip: + $(MAKE) strip-local + set -e ; for i in $(ISUBDIRS); do $(MAKE) -C $$i strip ; done + -ls -l $(BOBJECTS) $(IOBJECTS) + +strip-local: + version.gen: version version.pl $(PERL) version.pl $< $@ '%define < @' version.h: version version.pl |