micropython/examples/natmod/random/Makefile

14 lines
311 B
Makefile

# Location of top-level MicroPython directory
MPY_DIR = ../../..
# Name of module (different to built-in random so it can coexist)
MOD = random_$(ARCH)
# Source files (.c or .py)
SRC = random.c
# Architecture to build for (x86, x64, armv7m, xtensa, xtensawin)
ARCH = x64
include $(MPY_DIR)/py/dynruntime.mk