mirror of
https://github.com/GOSTSec/gostcoin
synced 2025-01-30 16:34:29 +00:00
update unix daemon makefile
This commit is contained in:
parent
0096e77652
commit
696a616323
@ -85,8 +85,9 @@ LIBS+= \
|
|||||||
HARDENING+=-D_FORTIFY_SOURCE=2
|
HARDENING+=-D_FORTIFY_SOURCE=2
|
||||||
#
|
#
|
||||||
|
|
||||||
|
ifneq (${USE_DEBUG}, no)
|
||||||
DEBUGFLAGS=-g
|
DEBUGFLAGS=-g
|
||||||
|
endif
|
||||||
|
|
||||||
# CXXFLAGS can be specified on the make command line, so we use xCXXFLAGS that only
|
# CXXFLAGS can be specified on the make command line, so we use xCXXFLAGS that only
|
||||||
# adds some defaults in front. Unfortunately, CXXFLAGS=... $(CXXFLAGS) does not work.
|
# adds some defaults in front. Unfortunately, CXXFLAGS=... $(CXXFLAGS) does not work.
|
||||||
@ -185,7 +186,6 @@ obj/%.o: %.cpp
|
|||||||
rm -f $(@:%.o=%.d)
|
rm -f $(@:%.o=%.d)
|
||||||
|
|
||||||
gostcoind: $(OBJS:obj/%=obj/%)
|
gostcoind: $(OBJS:obj/%=obj/%)
|
||||||
@(cd ../i2psam; make -f makefile.unix )
|
|
||||||
$(LINK) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS)
|
$(LINK) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS)
|
||||||
|
|
||||||
TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp))
|
TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user