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