Add EVP RSA key encode/decode demo
[openssl.git] / demos / encode / Makefile
diff --git a/demos/encode/Makefile b/demos/encode/Makefile
new file mode 100644 (file)
index 0000000..fc1c06c
--- /dev/null
@@ -0,0 +1,20 @@
+#
+# To run the demos when linked with a shared library (default):
+#
+#    LD_LIBRARY_PATH=../.. ./rsa_encode
+
+CFLAGS = -I../../include -g -Wall
+LDFLAGS = -L../..
+LDLIBS = -lcrypto
+
+all: rsa_encode
+
+%.o: %.c
+       $(CC) $(CFLAGS) -c $<
+
+rsa_encode: rsa_encode.o
+
+test: ;
+
+clean:
+       $(RM) *.o rsa_encode