Skip to content

Commit 15584c1

Browse files
committed
Fix Makefile build path
1 parent 78e8306 commit 15584c1

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
*.o
22
*.log
3-
dnsseed*
4-
releases/dnsseed*
3+
dnsseed.*
4+
releases/dnsseed.*
55
.vscode

Makefile

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
CXXFLAGS = -O3 -g0 -march=native
22
LDFLAGS = $(CXXFLAGS)
3-
BUILD_DATE = `date +'%Y%m%d%H%M%S'`
43

5-
releases/dnsseed: dns.o umkoin.o netbase.o protocol.o db.o main.o util.o
6-
g++ -pthread $(LDFLAGS) -o releases/dnsseed-$(BUILD_DATE) dns.o umkoin.o netbase.o protocol.o db.o main.o util.o -lcrypto
4+
dnsseed: dns.o umkoin.o netbase.o protocol.o db.o main.o util.o
5+
g++ -pthread $(LDFLAGS) -o releases/dnsseed dns.o umkoin.o netbase.o protocol.o db.o main.o util.o -lcrypto
76

87
%.o: %.cpp umkoin.h netbase.h protocol.h db.h serialize.h uint256.h util.h
98
g++ -std=c++11 -pthread $(CXXFLAGS) -Wall -Wno-unused -Wno-sign-compare -Wno-reorder -Wno-comment -c -o $@ $<

releases/dnsseed

221 KB
Binary file not shown.

0 commit comments

Comments
 (0)