Plan 9 from Bell Labs’s /usr/web/sources/contrib/fgb/root/sys/src/ape/lib/openssl/demos/prime/Makefile

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


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

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].