aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2018-06-21 23:02:23 -0400
committerFranklin Wei <me@fwei.tk>2018-06-21 23:02:23 -0400
commit898454639359d49ddb8cb098634473e9207c6e49 (patch)
tree8b7de07e275ef115664aaf038d6c7a1d0cc75b4f /Makefile
parent6f67db25e477a94fc7160fe1052329e41e1f9da7 (diff)
downloadcsaa-898454639359d49ddb8cb098634473e9207c6e49.zip
csaa-898454639359d49ddb8cb098634473e9207c6e49.tar.gz
csaa-898454639359d49ddb8cb098634473e9207c6e49.tar.bz2
csaa-898454639359d49ddb8cb098634473e9207c6e49.tar.xz
Add a separate client communicating by unix socket
This is pretty rough for now; the service provider only handles one client, and dies ungracefully when anything goes wrong. It seems to work, though.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..9016ba1
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,9 @@
+all: client server Makefile
+CFLAGS = -g -Wall
+
+client: client.o crypto.o test.o
+ cc -o $@ $^ -lcrypto $(CFLAGS)
+server: service_provider.o crypto.o helper.o trusted_module.o main.o test.o
+ cc -o $@ $^ -lcrypto $(CFLAGS)
+clean:
+ rm -f *.o a.out client server