aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.mingw
diff options
context:
space:
mode:
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 \