diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-07-22 11:07:43 +0000 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-07-22 11:07:43 +0000 |
commit | c7fb104134d05d442d8ee6a64af93e5d72b2ab35 (patch) | |
tree | 1d915eb87da47eb9c76899e4089ada6394819e8a /Makefile | |
parent | 2aa7afdf0bba060226ada5d78582b09ae3a8c510 (diff) | |
download | mupdf-c7fb104134d05d442d8ee6a64af93e5d72b2ab35.tar.xz |
Delete library archives before running ar to prevent build skew when files have been moved around.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -46,14 +46,14 @@ ifneq "$(verbose)" "" GENFILE_CMD = $(firstword $^) $@ $(wordlist 2, 999, $^) CC_CMD = $(CC) -o $@ -c $< $(CFLAGS) LD_CMD = $(CC) -o $@ $^ $(LDFLAGS) $(LIBS) -AR_CMD = ar cru $@ $^ +AR_CMD = rm -f $@ && ar cru $@ $^ else GENFILE_CMD = @ echo GENFILE $@ && $(firstword $^) $@ $(wordlist 2, 999, $^) CC_CMD = @ echo CC $@ && $(CC) -o $@ -c $< $(CFLAGS) LD_CMD = @ echo LD $@ && $(CC) -o $@ $^ $(LDFLAGS) $(LIBS) -AR_CMD = @ echo AR $@ && ar cru $@ $^ +AR_CMD = @ echo AR $@ && rm -f $@ && ar cru $@ $^ endif @@ -384,4 +384,3 @@ install: $(OBJDIR) $(GENDIR) $(MUPDF_LIB) $(APPS) install $(APPS) $(prefix)/bin install $(MUPDF_LIB) $(prefix)/lib install $(MUPDF_HDR) $(prefix)/include - |