Fix Windows daemon: move 'all' target before LevelDB in makefile.mingw
The 'all: trianglesd.exe' target was defined after 'leveldb/libleveldb.a:' making LevelDB the default target. Make would only build LevelDB and exit. Move 'all' to before LevelDB so it becomes the default target (like makefile.unix). Also pass explicit 'all' target in CI as belt-and-suspenders. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -136,6 +136,8 @@ OBJS= \
|
||||
obj/smessage.o \
|
||||
obj/onion_v3.o
|
||||
|
||||
all: trianglesd.exe
|
||||
|
||||
LIBS += $(CURDIR)/leveldb/libleveldb.a $(CURDIR)/leveldb/libmemenv.a
|
||||
DEFS += $(addprefix -I,$(CURDIR)/leveldb/include)
|
||||
DEFS += $(addprefix -I,$(CURDIR)/leveldb/helpers)
|
||||
@@ -204,8 +206,6 @@ obj/net_bootstrap.o: net_bootstrap.cpp
|
||||
-e '/^$$/ d' -e 's/$$/ :/' < $(@:%.o=%.d) >> $(@:%.o=%.P); \
|
||||
rm -f $(@:%.o=%.d)
|
||||
|
||||
all: trianglesd.exe
|
||||
|
||||
trianglesd.exe: $(OBJS:obj/%=obj/%) obj/anonymize.o
|
||||
$(LINK) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user