diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2012-08-26 22:17:35 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-08-26 22:17:35 +0000 |
commit | cd24f370929dcff6c790ce53dc70133259c80bff (patch) | |
tree | 7b9e6cab7c4120e35b752c757bdbe91134f252ed /src/makefile.osx | |
parent | 7c08c1a5df691685b9de8c6d1088bb792b079d58 (diff) | |
parent | b958999af17473300e5b3cd26bd16997e21dd644 (diff) | |
download | bitcoin-cd24f370929dcff6c790ce53dc70133259c80bff.tar.xz |
Merge commit 'b958999' into 0.6.0.x
Conflicts:
src/makefile.osx
src/makefile.unix
Diffstat (limited to 'src/makefile.osx')
-rw-r--r-- | src/makefile.osx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/makefile.osx b/src/makefile.osx index 1b0678fffb..44e7d89f57 100644 --- a/src/makefile.osx +++ b/src/makefile.osx @@ -95,7 +95,7 @@ all: bitcoind -include obj-test/*.P obj/%.o: %.cpp - $(CXX) -c $(CFLAGS) -MMD -o $@ $< + $(CXX) -c $(CFLAGS) -MMD -MF $(@:%.o=%.d) -o $@ $< @cp $(@:%.o=%.d) $(@:%.o=%.P); \ sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ -e '/^$$/ d' -e 's/$$/ :/' < $(@:%.o=%.d) >> $(@:%.o=%.P); \ @@ -107,7 +107,7 @@ bitcoind: $(OBJS:obj/%=obj/%) TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp)) obj-test/%.o: test/%.cpp - $(CXX) -c $(TESTDEFS) $(CFLAGS) -MMD -o $@ $< + $(CXX) -c $(TESTDEFS) $(CFLAGS) -MMD -MF $(@:%.o=%.d) -o $@ $< @cp $(@:%.o=%.d) $(@:%.o=%.P); \ sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ -e '/^$$/ d' -e 's/$$/ :/' < $(@:%.o=%.d) >> $(@:%.o=%.P); \ |