8 lines
349 B
Makefile
8 lines
349 B
Makefile
CXXFLAGS = -O3 -g0 -march=native
|
|
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 *.h
|
|
g++ -std=c++11 -pthread $(CXXFLAGS) -Wall -Wno-unused -Wno-sign-compare -Wno-reorder -Wno-comment -c -o $@ $<
|