diff --git a/Makefile b/Makefile index 011a6d5ab106a17f7b30520860beee575545867f..3fb4a5aae26eb5e0dc769c081bde481506d4c3d5 100644 --- a/Makefile +++ b/Makefile @@ -339,11 +339,14 @@ endif ##### TARGETS ##### +ifeq ($(ARCH),win32gcc) +POSTBIN=rebase +endif .PHONY: all fast config rootcint rootlibs rootexecs dist distsrc \ clean distclean maintainer-clean compiledata importcint \ version html changelog install uninstall showbuild cintdlls \ - static map debian redhat skip \ + static map debian redhat skip $(POSTBIN) \ $(patsubst %,all-%,$(MODULES)) \ $(patsubst %,map-%,$(MODULES)) \ $(patsubst %,clean-%,$(MODULES)) \ @@ -353,7 +356,7 @@ ifneq ($(findstring map, $(MAKECMDGOALS)),) .NOTPARALLEL: endif -all: rootexecs +all: rootexecs $(POSTBIN) fast: rootexecs @@ -450,6 +453,11 @@ dist: distsrc: @$(MAKEDISTSRC) +rebase: $(ALLLIBS) $(ALLEXECS) + @echo -n "Rebasing binaries... " + @rebase -b 0x60600000 bin/*.exe bin/*.dll + @echo done. + debian: @if [ ! -x `which debuild` ] || [ ! -x `which dh_testdir` ]; then \ echo "You must have debuild and debhelper installed to"; \