Research
Timechain
Search Donate
Sponsors
Cake Wallet, private Bitcoin and Monero walletSideShift.ai, no-signup crypto exchangeOrangeRock, non-custodial bitcoin spot and perps tradingBraiins Hashpower, buy and sell Bitcoin hashrateeCash.com
Bitcoin v0.3.0 · 2010-07-06

makefile.mingw

76 lines · plain text · GitHub · MIT license (license.txt)
1# Copyright (c) 2009-2010 Satoshi Nakamoto2# Distributed under the MIT/X11 software license, see the accompanying3# file license.txt or http://www.opensource.org/licenses/mit-license.php.456# for wxWidgets-2.8.x, search and replace "mswud"->"mswd" and "29u"->"28"78INCLUDEPATHS= \9 -I"/boost" \10 -I"/db/build_unix" \11 -I"/openssl/include" \12 -I"/wxwidgets/lib/gcc_lib/mswud" \13 -I"/wxwidgets/include"1415LIBPATHS= \16 -L"/boost/stage/lib" \17 -L"/db/build_unix" \18 -L"/openssl/out" \19 -L"/wxwidgets/lib/gcc_lib"2021WXLIBS= \22 -l wxmsw29ud_html -l wxmsw29ud_core -l wxmsw29ud_adv -l wxbase29ud -l wxtiffd -l wxjpegd -l wxpngd -l wxzlibd2324LIBS= \25 -l libboost_system-mgw34-mt-d -l libboost_filesystem-mgw34-mt-d \26 -l db_cxx \27 -l eay32 \28 -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 shlwapi2930WXDEFS=-DWIN32 -D__WXMSW__ -D_WINDOWS -DNOPCH31DEBUGFLAGS=-g -D__WXDEBUG__32CFLAGS=-mthreads -O2 -w -Wno-invalid-offsetof -Wformat $(DEBUGFLAGS) $(WXDEFS) $(INCLUDEPATHS)33HEADERS=headers.h strlcpy.h serialize.h uint256.h util.h key.h bignum.h base58.h \34    script.h db.h net.h irc.h main.h rpc.h uibase.h ui.h init.h sha.h353637all: bitcoin.exe383940headers.h.gch: headers.h $(HEADERS)41	g++ -c $(CFLAGS) -o $@ $<4243obj/%.o: %.cpp $(HEADERS) headers.h.gch44	g++ -c $(CFLAGS) -o $@ $<4546obj/sha.o: sha.cpp sha.h47	g++ -c $(CFLAGS) -O3 -o $@ $<4849obj/ui_res.o: ui.rc  rc/bitcoin.ico rc/check.ico rc/send16.bmp rc/send16mask.bmp rc/send16masknoshadow.bmp rc/send20.bmp rc/send20mask.bmp rc/addressbook16.bmp rc/addressbook16mask.bmp rc/addressbook20.bmp rc/addressbook20mask.bmp50	windres $(WXDEFS) $(INCLUDEPATHS) -o $@ -i $<5152OBJS= \53    obj/util.o \54    obj/script.o \55    obj/db.o \56    obj/net.o \57    obj/irc.o \58    obj/main.o \59    obj/rpc.o \60    obj/init.o6162bitcoin.exe: $(OBJS) obj/ui.o obj/uibase.o obj/sha.o obj/ui_res.o63	g++ $(CFLAGS) -mwindows -Wl,--subsystem,windows -o $@ $(LIBPATHS) $^ $(WXLIBS) $(LIBS)646566obj/nogui/%.o: %.cpp $(HEADERS)67	g++ -c $(CFLAGS) -DwxUSE_GUI=0 -o $@ $<6869bitcoind.exe: $(OBJS:obj/%=obj/nogui/%) obj/sha.o obj/ui_res.o70	g++ $(CFLAGS) -o $@ $(LIBPATHS) $^ -l wxbase29ud $(LIBS)717273clean:74	-del /Q obj\*75	-del /Q obj\nogui\*76	-del /Q headers.h.gch

Click a line number to link to it; use #L10-L20 for a range. "=" next to a version means the file is identical there.

0:000:00