use upx
This commit is contained in:
parent
1fdc16106f
commit
eef3f9d4a1
1 changed files with 5 additions and 0 deletions
5
Makefile
5
Makefile
|
@ -20,6 +20,7 @@ TAIL = tail
|
||||||
GREP = grep
|
GREP = grep
|
||||||
AWK = awk
|
AWK = awk
|
||||||
STRIP = strip -s
|
STRIP = strip -s
|
||||||
|
UPX = upx
|
||||||
|
|
||||||
# Déclaration des options du compilateur
|
# Déclaration des options du compilateur
|
||||||
COPTI = -O3
|
COPTI = -O3
|
||||||
|
@ -70,6 +71,7 @@ LDFLAGS += -lGL4Dummies $(shell sdl2-config --libs) -lSDL2_mixer -lSDL2_image -
|
||||||
|
|
||||||
all: $(PROGNAME)
|
all: $(PROGNAME)
|
||||||
all: strip
|
all: strip
|
||||||
|
all: upx
|
||||||
|
|
||||||
$(PROGNAME): $(OBJ)
|
$(PROGNAME): $(OBJ)
|
||||||
$(CC) $(OBJ) $(LDFLAGS) -o $(PROGNAME)
|
$(CC) $(OBJ) $(LDFLAGS) -o $(PROGNAME)
|
||||||
|
@ -86,6 +88,9 @@ debug: $(PROGNAME)
|
||||||
strip:
|
strip:
|
||||||
$(STRIP) $(PROGNAME)
|
$(STRIP) $(PROGNAME)
|
||||||
|
|
||||||
|
upx:
|
||||||
|
$(UPX) $(PROGNAME)
|
||||||
|
|
||||||
dist: distdir
|
dist: distdir
|
||||||
$(CHMOD) -R a+r $(distdir)
|
$(CHMOD) -R a+r $(distdir)
|
||||||
$(TAR) zcvf $(distdir).tgz $(distdir)
|
$(TAR) zcvf $(distdir).tgz $(distdir)
|
||||||
|
|
Reference in a new issue