aboutsummaryrefslogtreecommitdiff
path: root/examples/natmod/features2/Makefile
diff options
context:
space:
mode:
authorDamien George2019-12-12 15:02:27 +1100
committerDamien George2019-12-12 20:15:28 +1100
commit60c3c22a0dcd5aba9e65ae4c3890889f42a18567 (patch)
tree49a78a6c61a327c5e3d0641cb2ac92373fcff490 /examples/natmod/features2/Makefile
parent4eef940edbd3ee4eecead37785cafd9845d763a2 (diff)
examples/natmod: Add features1 and features2 examples.
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