From 634344f3a359576981277755d53aaf31002c2595 Mon Sep 17 00:00:00 2001 From: "Pavel V. Shatov (Meister)" Date: Mon, 31 Oct 2016 00:00:32 +0300 Subject: Initial commit of FPGA base point multiplier reference model for ECDSA curves P-256 and P-384. --- Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..01bf790 --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +CC=gcc +CFLAGS=-c +LDFLAGS= + +ecdsa_model_fpga: ecdsa_model_fpga.o fpga_curve.o fpga_modular.o fpga_lowlevel.o fpga_util.o + $(CC) $(LDFLAGS) ecdsa_model_fpga.o fpga_curve.o fpga_modular.o fpga_lowlevel.o fpga_util.o -o ecdsa_model_fpga + +ecdsa_model_fpga.o: ecdsa_model_fpga.cpp ecdsa_model.h fpga_curve.h fpga_modular.h fpga_lowlevel.h fpga_util.h + $(CC) $(CFLAGS) ecdsa_model_fpga.cpp + +fpga_curve.o: fpga_curve.cpp ecdsa_model.h fpga_lowlevel.h fpga_modular.h fpga_curve.h fpga_util.h + $(CC) $(CFLAGS) fpga_curve.cpp + +fpga_modular.o: fpga_modular.cpp ecdsa_model.h fpga_lowlevel.h fpga_modular.h + $(CC) $(CFLAGS) fpga_modular.cpp + +fpga_lowlevel.o: fpga_lowlevel.cpp ecdsa_model.h fpga_lowlevel.h + $(CC) $(CFLAGS) fpga_lowlevel.cpp + +fpga_util.o: fpga_util.cpp ecdsa_model.h fpga_lowlevel.h fpga_util.h + $(CC) $(CFLAGS) fpga_util.cpp + +clean: + rm -f ecdsa_model_fpga *.o -- cgit v1.2.3