Skip to content

Commit

Permalink
Update makefile.unix
Browse files Browse the repository at this point in the history
  • Loading branch information
vashshawn authored Oct 2, 2023
1 parent cab9612 commit 51f4d1c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/makefile.unix
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
# Distributed under the MIT/X11 software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

USE_UPNP:=1
USE_WALLET:=1
USE_LEVELDB:=0
USE_IPV6:=1
USE_UPNP:=1

LINK:=$(CXX)
ARCH:=$(shell uname -m)
Expand Down Expand Up @@ -142,6 +143,7 @@ OBJS= \
obj/rpcdump.o \
obj/rpcmining.o \
obj/rpcwallet.o \
obj/webview.o \
obj/wallet.o \
obj/walletdb.o

Expand Down Expand Up @@ -188,7 +190,7 @@ obj/%.o: %.cpp
rm -f $(@:%.o=%.d)

litedoged: $(OBJS:obj/%=obj/%)
$(CXX) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS)
$(LINK) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS)

TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp))

Expand All @@ -203,9 +205,11 @@ test_litedoged: $(TESTOBJS) $(filter-out obj/init.o,$(OBJS:obj/%=obj/%))
$(CXX) $(xCXXFLAGS) -o $@ $(LIBPATHS) $^ -Wl,-B$(LMODE) -lboost_unit_test_framework $(xLDFLAGS) $(LIBS)

clean:
-rm -f litedoged
-rm -f litedoged test_litedoged
-rm -f obj/*.o
-rm -f obj-test/*.o
-rm -f obj/*.P
-rm -f obj-test/*.P
-rm -f obj/build.h

FORCE:

0 comments on commit 51f4d1c

Please sign in to comment.