2013-04-28 03:22:56 +02:00
|
|
|
CXXFLAGS = -O3 -g0 -march=native
|
2012-08-12 01:13:41 +02:00
|
|
|
LDFLAGS = $(CXXFLAGS)
|
2012-06-03 17:33:21 +02:00
|
|
|
|
2012-05-25 15:41:27 +02:00
|
|
|
dnsseed: dns.o bitcoin.o netbase.o protocol.o db.o main.o util.o
|
2012-08-12 01:13:41 +02:00
|
|
|
g++ -pthread $(LDFLAGS) -o dnsseed dns.o bitcoin.o netbase.o protocol.o db.o main.o util.o -lcrypto
|
2011-12-20 14:29:21 +01:00
|
|
|
|
|
|
|
%.o: %.cpp bitcoin.h netbase.h protocol.h db.h serialize.h uint256.h util.h
|
2012-06-03 17:33:21 +02:00
|
|
|
g++ -DUSE_IPV6 -pthread $(CXXFLAGS) -Wno-invalid-offsetof -c -o $@ $<
|
2011-12-20 05:20:50 +01:00
|
|
|
|
|
|
|
dns.o: dns.c
|
2012-06-03 17:33:21 +02:00
|
|
|
gcc -pthread -std=c99 $(CXXFLAGS) dns.c -c -o dns.o
|
2011-12-20 05:20:50 +01:00
|
|
|
|
2011-12-20 14:29:21 +01:00
|
|
|
%.o: %.cpp
|