]> Sergey Matveev's repositories - nnn.git/commitdiff
make target upx (https://upx.github.io/)
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 1 Nov 2020 18:31:28 +0000 (00:01 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 1 Nov 2020 18:32:47 +0000 (00:02 +0530)
Makefile

index 072bf33c0c556249fee44ba529cba2dfe874e03e..383f9849f4581d49b356989f6beb32b15ccbffdc 100644 (file)
--- 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