aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.mingw
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-01-12 16:55:44 -0500
committerGavin Andresen <gavinandresen@gmail.com>2012-01-12 16:55:44 -0500
commit025d495481f2313a1550d8d101415ff3e3a6b89f (patch)
tree8d65039507024004cf7e44290e6dfa4cc8fb0a92 /src/makefile.mingw
parent3f64fa1369bde45034e451c4093e0852e59a1cdf (diff)
downloadbitcoin-025d495481f2313a1550d8d101415ff3e3a6b89f.tar.xz
Remove broken Visual C++ makefile.vc, and removed annoying HEADERS= list from other makefiles
Diffstat (limited to 'src/makefile.mingw')
-rw-r--r--src/makefile.mingw27
1 files changed, 4 insertions, 23 deletions
diff --git a/src/makefile.mingw b/src/makefile.mingw
index ac1e4c75fd..0837940152 100644
--- a/src/makefile.mingw
+++ b/src/makefile.mingw
@@ -26,29 +26,7 @@ LIBS= \
DEFS=-DWIN32 -D_WINDOWS -DNOPCH -DUSE_SSL -DBOOST_THREAD_USE_LIB
DEBUGFLAGS=-g
CFLAGS=-mthreads -O2 -w -Wno-invalid-offsetof -Wformat $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)
-HEADERS = \
- base58.h \
- bignum.h \
- checkpoints.h \
- compat.h \
- crypter.h \
- db.h \
- headers.h \
- init.h \
- irc.h \
- key.h \
- keystore.h \
- main.h \
- net.h \
- noui.h \
- protocol.h \
- bitcoinrpc.h \
- script.h \
- serialize.h \
- strlcpy.h \
- uint256.h \
- util.h \
- wallet.h
+
ifdef USE_UPNP
INCLUDEPATHS += -I"C:\miniupnpc-1.6-mgw"
@@ -59,6 +37,9 @@ endif
LIBS += -l kernel32 -l user32 -l gdi32 -l comdlg32 -l winspool -l winmm -l shell32 -l comctl32 -l ole32 -l oleaut32 -l uuid -l rpcrt4 -l advapi32 -l ws2_32 -l shlwapi
+# TODO: make the mingw builds smarter about dependencies, like the linux/osx builds are
+HEADERS = $(wildcard *.h)
+
OBJS= \
obj/checkpoints.o \
obj/netbase.o \