diff options
Diffstat (limited to 'demos/pkey/Makefile')
-rw-r--r-- | demos/pkey/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/demos/pkey/Makefile b/demos/pkey/Makefile new file mode 100644 index 0000000000..35cdca229a --- /dev/null +++ b/demos/pkey/Makefile @@ -0,0 +1,20 @@ +# +# To run the demos when linked with a shared library (default): +# +# LD_LIBRARY_PATH=../.. ./EVP_PKEY_EC_keygen + +CFLAGS = -I../../include -g +LDFLAGS = -L../.. +LDLIBS = -lcrypto + +all: EVP_PKEY_EC_keygen + +%.o: %.c + $(CC) $(CFLAGS) -c $< + +EVP_PKEY_EC_keygen: EVP_PKEY_EC_keygen.o + +test: ; + +clean: + $(RM) *.o EVP_PKEY_EC_keygen |