Start of a client app

This commit is contained in:
Ian Gulliver
2015-02-06 16:27:47 +00:00
parent dcbc3d6928
commit 2c9b9f97de
5 changed files with 138 additions and 11 deletions

View File

@@ -1,13 +1,16 @@
all: auth-server gen-key gen-keypair
all: auth-client auth-server gen-key gen-keypair
%.o: %.cc
g++ -std=c++11 -c -o $@ $<
auth-client: auth-client.o crypto.o tlv.o
g++ -o auth-client auth-client.o crypto.o tlv.o -lsodium
auth-server: auth-server.o crypto.o tlv.o
g++ -o auth-server auth-server.o crypto.o tlv.o nacl/build/instance1/lib/amd64/randombytes.o nacl/build/instance1/lib/amd64/libnacl.a
g++ -o auth-server auth-server.o crypto.o tlv.o -lsodium
gen-key: gen-key.o crypto.o tlv.o
g++ -o gen-key gen-key.o crypto.o tlv.o nacl/build/instance1/lib/amd64/randombytes.o nacl/build/instance1/lib/amd64/libnacl.a
g++ -o gen-key gen-key.o crypto.o tlv.o -lsodium
gen-keypair: gen-keypair.o crypto.o tlv.o
g++ -o gen-keypair gen-keypair.o crypto.o tlv.o nacl/build/instance1/lib/amd64/randombytes.o nacl/build/instance1/lib/amd64/libnacl.a
g++ -o gen-keypair gen-keypair.o crypto.o tlv.o -lsodium