From c459dfdbed9c2209bacbeb95f3d616725ac2c247 Mon Sep 17 00:00:00 2001 From: Jeffrey Clark Date: Thu, 17 Apr 2014 11:45:11 -0500 Subject: [PATCH] use upx to compress mips binaries on many older devices, space is a precious commodity. saving 3-4k is worth it. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0596392..1cc9452 100644 --- a/Makefile +++ b/Makefile @@ -22,15 +22,17 @@ dist: mips: $(CROSSCC) -mips32 $(CFLAGS) $(LDFLAGS) $(OPTS) $(SRC) -o dist/pixelserv.mips32 $(CROSSSTRIP) dist/pixelserv.mips32 + upx dist/pixelserv.mips32 host32: $(CC) -m32 $(CFLAGS) $(LDFLAGS) $(OPTS) $(SRC) -o dist/pixelserv.x86 - $(STRIP) dist/pixelserv.x86 + strip dist/pixelserv.x86 host64: $(CC) -m64 $(CFLAGS) $(LDFLAGS) $(OPTS) $(SRC) -o dist/pixelserv.amd64 - $(STRIP) dist/pixelserv.amd64 + strip dist/pixelserv.amd64 tiny: $(CROSSCC) -mips32 $(CFLAGS) $(LDFLAGS) $(TINY_OPTS) $(SRC) -o dist/pixelserv.tiny.mips32 $(CROSSSTRIP) dist/pixelserv.tiny.mips32 + upx dist/pixelserv.tiny.mips32