diff options
author | Pavel V. Shatov (Meister) <meisterpaul1@yandex.ru> | 2016-10-31 00:00:32 +0300 |
---|---|---|
committer | Pavel V. Shatov (Meister) <meisterpaul1@yandex.ru> | 2016-10-31 00:00:32 +0300 |
commit | 634344f3a359576981277755d53aaf31002c2595 (patch) | |
tree | 54e511748c3b348c26732dc093e656f73f31ed1e /Makefile |
Initial commit of FPGA base point multiplier reference model for ECDSA curves P-256 and P-384.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
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 |