aboutsummaryrefslogtreecommitdiff
path: root/examples/natmod/features2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/natmod/features2/Makefile')
-rw-r--r--examples/natmod/features2/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/natmod/features2/Makefile b/examples/natmod/features2/Makefile
new file mode 100644
index 000000000..4fd23c687
--- /dev/null
+++ b/examples/natmod/features2/Makefile
@@ -0,0 +1,14 @@
+# 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
+
+# Include to get the rules for compiling and linking the module
+include $(MPY_DIR)/py/dynruntime.mk