15 lines
360 B
Makefile
15 lines
360 B
Makefile
# Location of top-level MicroPython directory
|
|
MPY_DIR = $(HOME)/github/micropython
|
|
|
|
# Name of module
|
|
MOD = curve25519
|
|
|
|
# Source files (.c or .py)
|
|
SRC = main.c arithmetic.c ec.c
|
|
|
|
# Architecture to build for (x86, x64, armv7m, xtensa, xtensawin)
|
|
ARCH = armv7m
|
|
|
|
# Include to get the rules for compiling and linking the module
|
|
include $(MPY_DIR)/py/dynruntime.mk
|