diff options
author | Bodo Möller <bodo@openssl.org> | 1999-05-27 23:52:31 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-05-27 23:52:31 +0000 |
commit | 71f080935a50c3fd795f0c3ccb6ee0dd7c453de1 (patch) | |
tree | f77d763433b57eb64f6d445d5faba2913497de9f /demos/prime | |
parent | e95f626827bf98fe0c0b792464202d325f4cf8b9 (diff) | |
download | openssl-71f080935a50c3fd795f0c3ccb6ee0dd7c453de1.tar.gz |
Updated some demos.
Submitted by: Sean O Riordain <Sean.ORiordain@cyrona.com>
Diffstat (limited to 'demos/prime')
-rw-r--r-- | demos/prime/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/demos/prime/Makefile b/demos/prime/Makefile new file mode 100644 index 0000000000..0166cd46fe --- /dev/null +++ b/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 |