You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
455 B
13 lines
455 B
CXXFLAGS = -O3 -g0 -march=nocona -flto |
|
LDFLAGS = $(CXXFLAGS) |
|
|
|
dnsseed: dns.o bitcoin.o netbase.o protocol.o db.o main.o util.o |
|
g++ -pthread $(LDFLAGS) -o dnsseed dns.o bitcoin.o netbase.o protocol.o db.o main.o util.o -lcrypto |
|
|
|
%.o: %.cpp bitcoin.h netbase.h protocol.h db.h serialize.h uint256.h util.h |
|
g++ -DUSE_IPV6 -pthread $(CXXFLAGS) -Wno-invalid-offsetof -c -o $@ $< |
|
|
|
dns.o: dns.c |
|
gcc -pthread -std=c99 $(CXXFLAGS) dns.c -c -o dns.o |
|
|
|
%.o: %.cpp
|
|
|