Add make rule for official-static.

This commit is contained in:
Adam Ierymenko 2017-08-18 14:00:35 -07:00
parent fcaf1d89c2
commit bab5647522

View File

@ -210,12 +210,6 @@ endif
all: one
#ext/x64-salsa2012-asm/salsa2012.o:
# $(CC) -c ext/x64-salsa2012-asm/salsa2012.s -o ext/x64-salsa2012-asm/salsa2012.o
#ext/arm32-neon-salsa2012-asm/salsa2012.o:
# $(CC) -c ext/arm32-neon-salsa2012-asm/salsa2012.s -o ext/arm32-neon-salsa2012-asm/salsa2012.o
one: $(CORE_OBJS) $(ONE_OBJS) one.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o zerotier-one $(CORE_OBJS) $(ONE_OBJS) one.o $(LDLIBS)
$(STRIP) zerotier-one
@ -252,6 +246,9 @@ distclean: clean
realclean: distclean
official-static: FORCE
make -j4 ZT_STATIC=1 LDLIBS=/usr/lib/libjemalloc.a all selftest
debug: FORCE
make ZT_DEBUG=1 one
make ZT_DEBUG=1 selftest