2012-06-03 17:33:21 +02:00
|
|
|
CXXFLAGS = -O2 -ggdb3 -march=nocona
|
|
|
|
|
2012-05-25 15:41:27 +02:00
|
|
|
dnsseed: dns.o bitcoin.o netbase.o protocol.o db.o main.o util.o
|
|
|
|
g++ -pthread -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
|