summaryrefslogtreecommitdiffstats
path: root/openssl/demos/prime/Makefile
blob: 0166cd46fe46448504ea7bfb286a215b669369b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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