diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-04-10 13:31:12 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-04-10 13:31:12 -0700 |
commit | 702764f53b6aded29fc2e020078d192ec2b13d68 (patch) | |
tree | 3c532113e13e79b5a0677fd5f8080766ea96ae23 /src/makefile.linux-mingw | |
parent | b56772e5df75832b84efacba60bbb3e7910fa1cf (diff) | |
parent | a20c0d0f6792acf532309eee2e9f29120c801ee4 (diff) | |
download | bitcoin-702764f53b6aded29fc2e020078d192ec2b13d68.tar.xz |
Merge pull request #1054 from sipa/buildinfo
Build identification strings
Diffstat (limited to 'src/makefile.linux-mingw')
-rw-r--r-- | src/makefile.linux-mingw | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/makefile.linux-mingw b/src/makefile.linux-mingw index 3f7e6114ec..4922df599b 100644 --- a/src/makefile.linux-mingw +++ b/src/makefile.linux-mingw @@ -43,6 +43,7 @@ LIBS += -l mingwthrd -l kernel32 -l user32 -l gdi32 -l comdlg32 -l winspool -l w HEADERS = $(wildcard *.h) OBJS= \ + obj/version.o \ obj/checkpoints.o \ obj/netbase.o \ obj/addrman.o \ @@ -64,10 +65,14 @@ OBJS= \ all: bitcoind.exe +build.h: FORCE + @../share/genbuild.sh build.h +DEFS += -DHAVE_BUILD_INFO + obj/%.o: %.cpp $(HEADERS) i586-mingw32msvc-g++ -c $(CFLAGS) -o $@ $< -bitcoind.exe: $(OBJS:obj/%=obj/%) +bitcoind.exe: build.h $(OBJS:obj/%=obj/%) i586-mingw32msvc-g++ $(CFLAGS) -o $@ $(LIBPATHS) $^ $(LIBS) @@ -85,3 +90,6 @@ clean: -rm -f headers.h.gch -rm -f bitcoind.exe -rm -f test_bitcoin.exe + -rm -f src/build.h + +FORCE: |