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.10 · 2010-08-15

makefile.unix

74 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.456INCLUDEPATHS= \7 -I"/usr/local/include/wx-2.9" \8 -I"/usr/local/lib/wx/include/gtk2-unicode-debug-static-2.9"910WXLIBS= \11 -Wl,-Bstatic \12   -l wx_gtk2ud-2.9 \13 -Wl,-Bdynamic \14   -l gtk-x11-2.0 -l SM1516# for boost 1.37, add -mt to the boost libraries17LIBS= \18 -Wl,-Bstatic \19   -l boost_system \20   -l boost_filesystem \21   -l boost_program_options \22   -l boost_thread \23   -l db_cxx \24   -l crypto \25 -Wl,-Bdynamic \26   -l gthread-2.02728DEFS=-D__WXGTK__ -DNOPCH -DFOURWAYSSE229DEBUGFLAGS=-g -D__WXDEBUG__30CFLAGS=-O2 -Wno-invalid-offsetof -Wformat $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)31HEADERS=headers.h strlcpy.h serialize.h uint256.h util.h key.h bignum.h base58.h \32    script.h db.h net.h irc.h main.h rpc.h uibase.h ui.h noui.h init.h3334OBJS= \35    obj/util.o \36    obj/script.o \37    obj/db.o \38    obj/net.o \39    obj/irc.o \40    obj/main.o \41    obj/rpc.o \42    obj/init.o \43    cryptopp/obj/sha.o \44    cryptopp/obj/cpu.o454647all: bitcoin484950obj/%.o: %.cpp $(HEADERS)51	g++ -c $(CFLAGS) -DGUI -o $@ $<5253cryptopp/obj/%.o: cryptopp/%.cpp54	g++ -c $(CFLAGS) -O3 -o $@ $<5556obj/sha256.o: sha256.cpp57	g++ -c $(CFLAGS) -msse2 -O3 -o $@ $<5859bitcoin: $(OBJS) obj/ui.o obj/uibase.o obj/sha256.o60	g++ $(CFLAGS) -o $@ $^ $(WXLIBS) $(LIBS)616263obj/nogui/%.o: %.cpp $(HEADERS)64	g++ -c $(CFLAGS) -o $@ $<6566bitcoind: $(OBJS:obj/%=obj/nogui/%) obj/sha256.o67	g++ $(CFLAGS) -o $@ $^ $(LIBS)686970clean:71	-rm -f obj/*.o72	-rm -f obj/nogui/*.o73	-rm -f cryptopp/obj/*.o74	-rm -f 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