diff options
| author | Paul Sokolovsky | 2016-06-16 01:27:21 +0300 |
|---|---|---|
| committer | Paul Sokolovsky | 2016-07-22 22:13:03 +0300 |
| commit | 1e77e25675d27da641722f384ffe55060fcc9960 (patch) | |
| tree | b3c9b29bb12dabd4e5f65569e6a82ec8984c8064 /examples/embedding/Makefile | |
| parent | e47c2ec64a9a8ee1df60f9725d2199ed45884f39 (diff) | |
examples/embedding: Example for embedding MicroPython in an app.
Diffstat (limited to 'examples/embedding/Makefile')
| -rw-r--r-- | examples/embedding/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/embedding/Makefile b/examples/embedding/Makefile new file mode 100644 index 000000000..99f239a7c --- /dev/null +++ b/examples/embedding/Makefile @@ -0,0 +1,8 @@ +MPTOP = ../.. +CFLAGS = -std=c99 -I. -I$(MPTOP) -DNO_QSTR +LDFLAGS = -L. + +hello-embed: hello-embed.o -lmicropython + +-lmicropython: + $(MAKE) -f $(MPTOP)/examples/embedding/Makefile.upylib MPTOP=$(MPTOP) |
