aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-11-02 00:01:28 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-11-02 00:02:47 +0530
commit9f6808a35a91a0919c59432c6127394b737e1b9c (patch)
treee272ebe633c1223c4e9c51922ae06a46694d01fd /Makefile
parent7b233c215ceb37645817832baf14c289e7190e23 (diff)
downloadnnn-9f6808a35a91a0919c59432c6127394b737e1b9c.tar.gz
make target upx (https://upx.github.io/)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 072bf33..383f984 100644
--- a/Makefile
+++ b/Makefile
@@ -166,6 +166,10 @@ uninstall:
strip: $(BIN)
$(STRIP) $^
+upx: $(BIN)
+ $(STRIP) $^
+ upx -qqq $^
+
static:
# regular static binary
make O_STATIC=1 strip