diff options
Diffstat (limited to 'openssl/demos/prime/Makefile')
-rw-r--r-- | openssl/demos/prime/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/openssl/demos/prime/Makefile b/openssl/demos/prime/Makefile new file mode 100644 index 000000000..0166cd46f --- /dev/null +++ b/openssl/demos/prime/Makefile @@ -0,0 +1,20 @@ +CC=cc +CFLAGS= -g -I../../include -Wall +LIBS= -L../.. -lcrypto +EXAMPLES=prime + +all: $(EXAMPLES) + +prime: prime.o + $(CC) -o prime prime.o $(LIBS) + +clean: + rm -f $(EXAMPLES) *.o + +test: all + @echo Test creating a 128-bit prime + ./prime 128 + @echo Test creating a 256-bit prime + ./prime 256 + @echo Test creating a 512-bit prime + ./prime 512 |