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 /mtools | |
parent | b0e7c325933396ff42b38c097a3a7142625b6ab7 (diff) | |
download | syslinux-2613174223371677d0a701a69cb7468947940d65.tar.gz |
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 'mtools')
-rwxr-xr-x | mtools/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mtools/Makefile b/mtools/Makefile index 5d4bc15f..3e172fd6 100755 --- a/mtools/Makefile +++ b/mtools/Makefile @@ -37,6 +37,9 @@ installer: syslinux syslinux: $(OBJS) $(CC) $(LDFLAGS) -o $@ $^ +strip: + $(STRIP) syslinux + %.o: %.c $(CC) $(UMAKEDEPS) $(CFLAGS) -c -o $@ $< %.i: %.c |