2014-08-08 00:14:24 +00:00
|
|
|
all: FORCE
|
2014-08-07 22:45:11 +00:00
|
|
|
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
|
|
|
|
|
2014-08-08 16:46:00 +00:00
|
|
|
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
|
2014-08-08 00:14:24 +00:00
|
|
|
ls -l ZT_DEFAULT_ROOT_TOPOLOGY.c
|
2014-08-07 22:45:11 +00:00
|
|
|
|
|
|
|
clean:
|
2014-08-08 16:46:00 +00:00
|
|
|
rm -f *.o mktopology bin2c
|
2014-08-08 00:14:24 +00:00
|
|
|
|
2014-08-08 00:21:07 +00:00
|
|
|
realclean: clean
|
2014-08-08 16:46:00 +00:00
|
|
|
rm -f ZT_DEFAULT_ROOT_TOPOLOGY.c ZT_DEFAULT_ROOT_TOPOLOGY.dict
|
2014-08-08 00:21:07 +00:00
|
|
|
|
2014-08-08 00:14:24 +00:00
|
|
|
FORCE:
|