diff options
author | Pavel V. Shatov (Meister) <meisterpaul1@yandex.ru> | 2017-06-13 20:11:58 +0300 |
---|---|---|
committer | Pavel V. Shatov (Meister) <meisterpaul1@yandex.ru> | 2017-06-13 20:11:58 +0300 |
commit | 53e92c5355aca120eab8d59e6904282c9e3b4ab1 (patch) | |
tree | 62c6b65e52c01bbbfdac063ec8ba791a9d073203 /Makefile |
Initial commit of faster modular exponentiation model based on systolic architecture.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
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 |