From 53e92c5355aca120eab8d59e6904282c9e3b4ab1 Mon Sep 17 00:00:00 2001 From: "Pavel V. Shatov (Meister)" Date: Tue, 13 Jun 2017 20:11:58 +0300 Subject: Initial commit of faster modular exponentiation model based on systolic architecture. --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5ac0366 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +CC=gcc +CFLAGS=-c +LDFLAGS= + +modexp_fpga_model: modexp_fpga_model_pe.o modexp_fpga_model_montgomery.o modexp_fpga_model.o + $(CC) $(LDFLAGS) modexp_fpga_model_pe.o modexp_fpga_model_montgomery.o modexp_fpga_model.o -o modexp_fpga_model + +modexp_fpga_model_pe.o: modexp_fpga_model_pe.cpp modexp_fpga_model.h modexp_fpga_model_pe.h + $(CC) $(CFLAGS) modexp_fpga_model_pe.cpp + +modexp_fpga_model_montgomery.o: modexp_fpga_model_montgomery.cpp modexp_fpga_model.h modexp_fpga_model_pe.h modexp_fpga_model_montgomery.h + $(CC) $(CFLAGS) modexp_fpga_model_montgomery.cpp + +modexp_fpga_model.o: modexp_fpga_model.cpp modexp_fpga_model.h modexp_fpga_model_montgomery.h test/modexp_fpga_model_vectors.h + $(CC) $(CFLAGS) modexp_fpga_model.cpp + +clean: + rm -f modexp_fpga_model *.o -- cgit v1.2.3