mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Updated.
committer: mfx <mfx> 983320361 +0000
This commit is contained in:
parent
8897c3d4cb
commit
16e9f168b9
|
@ -93,6 +93,7 @@ CXXFLAGS_OUTPUT = $(CFLAGS_OUTPUT)
|
||||||
LINK_EXE = $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
LINK_EXE = $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
||||||
STUBEDIT_EXE =
|
STUBEDIT_EXE =
|
||||||
STUBIFY_EXE =
|
STUBIFY_EXE =
|
||||||
|
CHMOD_EXE =
|
||||||
|
|
||||||
o = .o
|
o = .o
|
||||||
a = .a
|
a = .a
|
||||||
|
@ -184,8 +185,10 @@ ifeq ($(DEBUG),1)
|
||||||
CFLAGS += -O0 -g
|
CFLAGS += -O0 -g
|
||||||
else
|
else
|
||||||
##LDFLAGS += -static
|
##LDFLAGS += -static
|
||||||
STUBEDIT_EXE = objcopy -S -R .comment -R .note $@ && perl $(srcdir)/stub/scripts/brandelf.pl $@ && chmod 755 $@
|
STUBEDIT_EXE = objcopy -S -R .comment -R .note $@
|
||||||
|
STUBIFY_EXE = perl $(srcdir)/stub/scripts/brandelf.pl $@
|
||||||
endif
|
endif
|
||||||
|
CHMOD_EXE = chmod 755 $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif # linux
|
endif # linux
|
||||||
|
@ -386,6 +389,7 @@ $(upx_exe): $(OBJECTS) $(LIBS)
|
||||||
$(LINK_EXE)
|
$(LINK_EXE)
|
||||||
$(STUBEDIT_EXE)
|
$(STUBEDIT_EXE)
|
||||||
$(STUBIFY_EXE)
|
$(STUBIFY_EXE)
|
||||||
|
$(CHMOD_EXE)
|
||||||
|
|
||||||
|
|
||||||
unupx:
|
unupx:
|
||||||
|
@ -401,8 +405,8 @@ mostlyclean:
|
||||||
clean: mostlyclean
|
clean: mostlyclean
|
||||||
-rm -f *.a *.lib *.o *.obj tags TAGS ID
|
-rm -f *.a *.lib *.o *.obj tags TAGS ID
|
||||||
-rm -f *.idb *.pdb
|
-rm -f *.idb *.pdb
|
||||||
-rm -rf .deps
|
|
||||||
-rm -f upx upx.exe upx_nrv upx_nrv.exe upx_ucl upx_ucl.exe
|
-rm -f upx upx.exe upx_nrv upx_nrv.exe upx_ucl upx_ucl.exe
|
||||||
|
-rm -rf .deps
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user