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