mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-21 05:43:59 -07:00
Merge pull request #974 from squeakbat/master
Don't relink zerotier-one every time.
This commit is contained in:
commit
745483708a
3 changed files with 11 additions and 9 deletions
|
@ -283,20 +283,22 @@ ifeq ($(ZT_USE_ARM32_NEON_ASM_CRYPTO),1)
|
|||
override CORE_OBJS+=ext/arm32-neon-salsa2012-asm/salsa2012.o
|
||||
endif
|
||||
|
||||
.PHONY: all
|
||||
all: one
|
||||
|
||||
one: $(CORE_OBJS) $(ONE_OBJS) one.o
|
||||
.PHONY: one
|
||||
one: zerotier-one zerotier-idtool zerotier-cli
|
||||
|
||||
zerotier-one: $(CORE_OBJS) $(ONE_OBJS) one.o
|
||||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o zerotier-one $(CORE_OBJS) $(ONE_OBJS) one.o $(LDLIBS)
|
||||
$(STRIP) zerotier-one
|
||||
|
||||
zerotier-idtool: zerotier-one
|
||||
ln -sf zerotier-one zerotier-idtool
|
||||
|
||||
zerotier-cli: zerotier-one
|
||||
ln -sf zerotier-one zerotier-cli
|
||||
|
||||
zerotier-one: one
|
||||
|
||||
zerotier-idtool: one
|
||||
|
||||
zerotier-cli: one
|
||||
|
||||
libzerotiercore.a: FORCE
|
||||
make CFLAGS="-O3 -fstack-protector -fPIC" CXXFLAGS="-O3 -std=c++11 -fstack-protector -fPIC" $(CORE_OBJS)
|
||||
ar rcs libzerotiercore.a $(CORE_OBJS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue