aboutsummaryrefslogtreecommitdiff
path: root/openssl/demos/state_machine/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/demos/state_machine/Makefile')
-rw-r--r--openssl/demos/state_machine/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/openssl/demos/state_machine/Makefile b/openssl/demos/state_machine/Makefile
new file mode 100644
index 000000000..c7a114540
--- /dev/null
+++ b/openssl/demos/state_machine/Makefile
@@ -0,0 +1,9 @@
+CFLAGS=-I../../include -Wall -Werror -g
+
+all: state_machine
+
+state_machine: state_machine.o
+ $(CC) -o state_machine state_machine.o -L../.. -lssl -lcrypto
+
+test: state_machine
+ ./state_machine 10000 ../../apps/server.pem ../../apps/server.pem