diff options
author | Pavel V. Shatov (Meister) <meisterpaul1@yandex.ru> | 2018-02-26 13:05:17 +0300 |
---|---|---|
committer | Pavel V. Shatov (Meister) <meisterpaul1@yandex.ru> | 2018-02-26 13:05:17 +0300 |
commit | 71fba5c6662d6bbe74366c03b531a5f86b25bbbb (patch) | |
tree | 6e15bce58eadd3a5d13535bd23f083f2bfb5cdd2 /Makefile |
Initial commit of C reference model for ECDH cores.
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..1740318 --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +CC=gcc +CFLAGS=-c +LDFLAGS= + +ecdh_model_fpga: ecdh_model_fpga.o fpga_curve.o fpga_modular.o fpga_lowlevel.o fpga_util.o + $(CC) $(LDFLAGS) ecdh_model_fpga.o fpga_curve.o fpga_modular.o fpga_lowlevel.o fpga_util.o -o ecdh_model_fpga + +ecdh_model_fpga.o: ecdh_model_fpga.cpp ecdh_model_fpga.h fpga_curve.h fpga_modular.h fpga_lowlevel.h fpga_util.h + $(CC) $(CFLAGS) ecdh_model_fpga.cpp + +fpga_curve.o: fpga_curve.cpp ecdh_model_fpga.h fpga_lowlevel.h fpga_modular.h fpga_curve.h fpga_util.h + $(CC) $(CFLAGS) fpga_curve.cpp + +fpga_modular.o: fpga_modular.cpp ecdh_model_fpga.h fpga_lowlevel.h fpga_modular.h + $(CC) $(CFLAGS) fpga_modular.cpp + +fpga_lowlevel.o: fpga_lowlevel.cpp ecdh_model_fpga.h fpga_lowlevel.h + $(CC) $(CFLAGS) fpga_lowlevel.cpp + +fpga_util.o: fpga_util.cpp ecdh_model_fpga.h fpga_lowlevel.h fpga_util.h + $(CC) $(CFLAGS) fpga_util.cpp + +clean: + rm -f ecdh_model_fpga *.o |