summaryrefslogtreecommitdiff
path: root/root-topology/Makefile
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-08-07 20:21:07 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-08-07 20:21:07 -0400
commitdd58006d65fa5a3c3e921e35b398c3e2bde1314c (patch)
tree854ea584d3babe9c0478b99e51ed13178cb39b49 /root-topology/Makefile
parentf0ebb0b0f1b35f74cfe49fcddf694fd15c80a985 (diff)
downloadinfinitytier-dd58006d65fa5a3c3e921e35b398c3e2bde1314c.tar.gz
infinitytier-dd58006d65fa5a3c3e921e35b398c3e2bde1314c.zip
Rename topology/ to be more descriptive, and some more updates.
Diffstat (limited to 'root-topology/Makefile')
-rw-r--r--root-topology/Makefile17
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: