mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-30 09:48:54 +00:00
18 lines
541 B
Makefile
18 lines
541 B
Makefile
all: FORCE
|
|
g++ -o mktopology mktopology.cpp ../node/Utils.cpp ../node/Identity.cpp ../node/C25519.cpp ../node/Salsa20.cpp ../node/Dictionary.cpp ../node/SHA512.cpp
|
|
gcc -o bin2c bin2c.c
|
|
|
|
official: FORCE
|
|
rm -f ZT_DEFAULT_ROOT_TOPOLOGY.dict
|
|
./mktopology >ZT_DEFAULT_ROOT_TOPOLOGY.dict
|
|
./bin2c ZT_DEFAULT_ROOT_TOPOLOGY < ZT_DEFAULT_ROOT_TOPOLOGY.dict > ZT_DEFAULT_ROOT_TOPOLOGY.c
|
|
ls -l ZT_DEFAULT_ROOT_TOPOLOGY.c
|
|
|
|
clean:
|
|
rm -f *.o mktopology bin2c
|
|
|
|
realclean: clean
|
|
rm -f ZT_DEFAULT_ROOT_TOPOLOGY.c ZT_DEFAULT_ROOT_TOPOLOGY.dict
|
|
|
|
FORCE:
|