summaryrefslogtreecommitdiff
path: root/examples/natmod/features2/Makefile
blob: 5ddb74087b71ae52edc3dab09a95de0ce934fc6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Location of top-level MicroPython directory
MPY_DIR = ../../..

# Name of module
MOD = features2

# Source files (.c or .py)
SRC = main.c prod.c test.py

# Architecture to build for (x86, x64, armv7m, xtensa, xtensawin)
ARCH = x64

# Link with libm.a and libgcc.a from the toolchain
LINK_RUNTIME = 1

# Include to get the rules for compiling and linking the module
include $(MPY_DIR)/py/dynruntime.mk