diff options
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 0000000000..99f239a7c5 --- /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) |