From 81cadd74d28ce26d5fc726807eb24f06cf8dd768 Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Mon, 26 Sep 2011 11:15:01 -0400 Subject: [PATCH] Fix build: put back rules to build cryptopp files --- src/makefile.linux-mingw | 2 ++ src/makefile.mingw | 2 ++ src/makefile.osx | 2 ++ src/makefile.unix | 3 +++ 4 files changed, 9 insertions(+) diff --git a/src/makefile.linux-mingw b/src/makefile.linux-mingw index 9c3c23558..8b3df66d9 100644 --- a/src/makefile.linux-mingw +++ b/src/makefile.linux-mingw @@ -78,6 +78,8 @@ OBJS= \ all: bitcoind.exe +cryptopp/obj/%.o: cryptopp/%.cpp + i586-mingw32msvc-g++ -c $(CFLAGS) -O3 -DCRYPTOPP_DISABLE_ASM -o $@ $< obj/nogui/%.o: %.cpp $(HEADERS) i586-mingw32msvc-g++ -c $(CFLAGS) -o $@ $< diff --git a/src/makefile.mingw b/src/makefile.mingw index 87225761b..d1c6ba8be 100644 --- a/src/makefile.mingw +++ b/src/makefile.mingw @@ -76,6 +76,8 @@ OBJS= \ all: bitcoind.exe +cryptopp/obj/%.o: cryptopp/%.cpp + g++ -c $(CFLAGS) -O3 -DCRYPTOPP_DISABLE_ASM -o $@ $< obj/nogui/%.o: %.cpp $(HEADERS) g++ -c $(CFLAGS) -o $@ $< diff --git a/src/makefile.osx b/src/makefile.osx index aff1e5f31..1d1d6b7b7 100644 --- a/src/makefile.osx +++ b/src/makefile.osx @@ -76,6 +76,8 @@ endif all: bitcoind +cryptopp/obj/%.o: cryptopp/%.cpp + $(CXX) -c $(CFLAGS) -O3 -DCRYPTOPP_DISABLE_ASM -o $@ $< obj/nogui/%.o: %.cpp $(HEADERS) $(CXX) -c $(CFLAGS) -o $@ $< diff --git a/src/makefile.unix b/src/makefile.unix index 88ca8895f..689c54d9d 100644 --- a/src/makefile.unix +++ b/src/makefile.unix @@ -104,6 +104,9 @@ OBJS= \ all: bitcoind +cryptopp/obj/%.o: cryptopp/%.cpp + $(CXX) -c $(CFLAGS) -O3 -o $@ $< + obj/nogui/%.o: %.cpp $(HEADERS) $(CXX) -c $(CXXFLAGS) -o $@ $<