aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/codegen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pyecsca/codegen/Makefile')
-rw-r--r--pyecsca/codegen/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/pyecsca/codegen/Makefile b/pyecsca/codegen/Makefile
index 50c1940..d99a1ce 100644
--- a/pyecsca/codegen/Makefile
+++ b/pyecsca/codegen/Makefile
@@ -1,12 +1,14 @@
TARGET = pyecsca-codegen
-SRC += main.c ecdh.c ecdsa.c hash/hash.c
+SRC += main.c bn.c ecdh.c ecdsa.c hash/hash.c prng/prng.c
-CDEFS += -DHASH=HASH_SHA1
+CDEFS += -DHASH=HASH_SHA224
-MKDIR_LIST += hash
+MKDIR_LIST += hash prng
-EXTRAINCDIRS += hash
+EXTRAINCDIRS += hash prng ../../ext/libtommath/
+
+LDFLAGS += ../../ext/libtommath/libtommath.a
include simpleserial/Makefile.simpleserial