Makefile 338 B

1234567891011121314151617181920
  1. CC=cc
  2. CFLAGS= -g -I../../include -Wall
  3. LIBS= -L../.. -lcrypto
  4. EXAMPLES=prime
  5. all: $(EXAMPLES)
  6. prime: prime.o
  7. $(CC) -o prime prime.o $(LIBS)
  8. clean:
  9. rm -f $(EXAMPLES) *.o
  10. test: all
  11. @echo Test creating a 128-bit prime
  12. ./prime 128
  13. @echo Test creating a 256-bit prime
  14. ./prime 256
  15. @echo Test creating a 512-bit prime
  16. ./prime 512