aboutsummaryrefslogtreecommitdiff
path: root/examples/natmod/ure/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/natmod/ure/Makefile')
-rw-r--r--examples/natmod/ure/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/natmod/ure/Makefile b/examples/natmod/ure/Makefile
new file mode 100644
index 000000000..f5254298f
--- /dev/null
+++ b/examples/natmod/ure/Makefile
@@ -0,0 +1,13 @@
+# Location of top-level MicroPython directory
+MPY_DIR = ../../..
+
+# Name of module (different to built-in ure so it can coexist)
+MOD = ure_$(ARCH)
+
+# Source files (.c or .py)
+SRC = ure.c
+
+# Architecture to build for (x86, x64, armv7m, xtensa, xtensawin)
+ARCH = x64
+
+include $(MPY_DIR)/py/dynruntime.mk