ZeroTierOne/topology/Makefile

15 lines
439 B
Makefile
Raw Normal View History

2014-08-08 00:14:24 +00:00
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
2014-08-08 00:14:24 +00:00
gcc -o bin2c bin2c.c
official: all
rm -f root_topology.out
./mktopology >root_topology.out
./bin2c ZT_DEFAULT_ROOT_TOPOLOGY < root_topology.out > ZT_DEFAULT_ROOT_TOPOLOGY.c
ls -l ZT_DEFAULT_ROOT_TOPOLOGY.c
clean:
2014-08-08 00:14:24 +00:00
rm -f *.o mktopology bin2c root_topology.out
FORCE: