summaryrefslogtreecommitdiff
path: root/Makefile.mac
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-18 16:35:52 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-18 16:35:52 -0400
commit5f4eb1ebc60abdd762bc77ef5b1120fe528ccc8f (patch)
tree6c42c048c0671c1e697bf677066de3b4a53ad945 /Makefile.mac
parentc345c699fd90cbad1ceda6226475d9a27ae47072 (diff)
downloadinfinitytier-5f4eb1ebc60abdd762bc77ef5b1120fe528ccc8f.tar.gz
infinitytier-5f4eb1ebc60abdd762bc77ef5b1120fe528ccc8f.zip
Command line interface.
Diffstat (limited to 'Makefile.mac')
-rw-r--r--Makefile.mac6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.mac b/Makefile.mac
index 89203243..bace24b2 100644
--- a/Makefile.mac
+++ b/Makefile.mac
@@ -20,12 +20,16 @@ LIBS=ext/bin/libcrypto/mac-x86_combined/libcrypto.a
include objects.mk
-all: one launcher mac-tap
+all: one cli launcher mac-tap
one: $(OBJS)
$(CXX) $(CXXFLAGS) -o zerotier-one main.cpp $(OBJS) $(LIBS)
$(STRIP) zerotier-one
+cli: $(OBJS)
+ $(CXX) $(CXXFLAGS) -o zerotier-cli cli.cpp $(OBJS) $(LIBS)
+ $(STRIP) zerotier-cli
+
selftest: $(OBJS)
$(CXX) $(CXXFLAGS) -o zerotier-selftest selftest.cpp $(OBJS) $(LIBS)
$(STRIP) zerotier-selftest