[Cryptech-Commits] [user/shatov/curve25519_fpga_model] 12/14: Added Makefile

git at cryptech.is git at cryptech.is
Mon Sep 24 18:52:56 UTC 2018


This is an automated email from the git hooks/post-receive script.

meisterpaul1 at yandex.ru pushed a commit to branch master
in repository user/shatov/curve25519_fpga_model.

commit 4ccd1f3d3f5e374e35340b79210ca087939f1e6a
Author: Pavel V. Shatov (Meister) <meisterpaul1 at yandex.ru>
AuthorDate: Mon Sep 24 21:49:24 2018 +0300

    Added Makefile
---
 Makefile | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..3e0e28d
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,36 @@
+CURVE25519_OBJS = curve25519/curve25519_fpga_model.o \
+	curve25519/curve25519_fpga_lowlevel.o \
+	curve25519/curve25519_fpga_multiword.o \
+	curve25519/curve25519_fpga_modular.o \
+	curve25519/curve25519_fpga_microcode.o
+
+X25519_OBJS = x25519/x25519_fpga_model.o \
+	x25519/x25519_fpga_curve_abstract.o \
+	x25519/x25519_fpga_curve_microcode.o
+
+ED25519_OBJS = ed25519/ed25519_fpga_model.o \
+	ed25519/ed25519_fpga_curve_abstract.o \
+	ed25519/ed25519_fpga_curve_microcode.o
+
+CPPFLAGS = -Wall
+
+CPPFLAGS += -I./curve25519
+CPPFLAGS += -I./x25519
+CPPFLAGS += -I./ed25519
+CPPFLAGS += -I./vectors/x25519
+CPPFLAGS += -I./vectors/ed25519
+
+all: x25519_fpga_model ed25519_fpga_model
+
+x25519_fpga_model: $(CURVE25519_OBJS) $(X25519_OBJS)
+	$(CC) $(LDFLAGS) $(CURVE25519_OBJS) $(X25519_OBJS) -o $@
+
+ed25519_fpga_model: $(CURVE25519_OBJS) $(ED25519_OBJS)
+	$(CC) $(LDFLAGS) $(CURVE25519_OBJS) $(ED25519_OBJS) -o $@
+		
+clean:
+	rm -f x25519_fpga_model
+	rm -f ed25519_fpga_model
+	rm -f curve25519/*.o
+	rm -f x25519/*.o
+	rm -f ed25519/*.o



More information about the Commits mailing list