From eef3f9d4a190f0d6269e4239af50f60e0f6ce629 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 26 May 2023 21:02:48 +0200 Subject: [PATCH] use upx --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 3a06632..41db27e 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,7 @@ TAIL = tail GREP = grep AWK = awk STRIP = strip -s +UPX = upx # Déclaration des options du compilateur COPTI = -O3 @@ -70,6 +71,7 @@ LDFLAGS += -lGL4Dummies $(shell sdl2-config --libs) -lSDL2_mixer -lSDL2_image - all: $(PROGNAME) all: strip +all: upx $(PROGNAME): $(OBJ) $(CC) $(OBJ) $(LDFLAGS) -o $(PROGNAME) @@ -86,6 +88,9 @@ debug: $(PROGNAME) strip: $(STRIP) $(PROGNAME) +upx: + $(UPX) $(PROGNAME) + dist: distdir $(CHMOD) -R a+r $(distdir) $(TAR) zcvf $(distdir).tgz $(distdir)