diff options
Diffstat (limited to 'root-topology/Makefile')
-rw-r--r-- | root-topology/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/root-topology/Makefile b/root-topology/Makefile new file mode 100644 index 00000000..4c256a50 --- /dev/null +++ b/root-topology/Makefile @@ -0,0 +1,17 @@ +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: 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: + rm -f *.o mktopology bin2c root_topology.out + +realclean: clean + rm -f ZT_DEFAULT_ROOT_TOPOLOGY.c + +FORCE: |