aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-09-26 11:15:01 -0400
committerGavin Andresen <gavinandresen@gmail.com>2011-09-26 11:15:01 -0400
commit81cadd74d28ce26d5fc726807eb24f06cf8dd768 (patch)
tree2817cb291b12985c58076cca56ca37ec5dcd8c89
parent565c4771b6eba0eeb82f8602735100bbcf4b053e (diff)
Fix build: put back rules to build cryptopp files
-rw-r--r--src/makefile.linux-mingw2
-rw-r--r--src/makefile.mingw2
-rw-r--r--src/makefile.osx2
-rw-r--r--src/makefile.unix3
4 files changed, 9 insertions, 0 deletions
diff --git a/src/makefile.linux-mingw b/src/makefile.linux-mingw
index 9c3c235582..8b3df66d98 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 87225761ba..d1c6ba8bef 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 aff1e5f31d..1d1d6b7b7b 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 88ca8895f1..689c54d9d2 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 $@ $<