diff options
author | Damien <damien.p.george@gmail.com> | 2013-12-17 18:33:53 +0000 |
---|---|---|
committer | Damien <damien.p.george@gmail.com> | 2013-12-17 18:33:53 +0000 |
commit | 0f08267fa43b3abe9add4ab9ff5822a273fbeba1 (patch) | |
tree | c6442c54bc5a463a45770fa6d723ea937f4e6e29 | |
parent | 660365e14c7205581f38cf61923a7a88a84f893f (diff) | |
download | micropython-0f08267fa43b3abe9add4ab9ff5822a273fbeba1.tar.gz micropython-0f08267fa43b3abe9add4ab9ff5822a273fbeba1.zip |
unix: include obj.h, and build additional py files.
-rw-r--r-- | unix/Makefile | 5 | ||||
-rw-r--r-- | unix/main.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/unix/Makefile b/unix/Makefile index 5b26282212..8c59b5b3f2 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -2,7 +2,7 @@ PYSRC=../py BUILD=build CC = gcc -CFLAGS = -I. -I$(PYSRC) -Wall -ansi -std=gnu99 -Os #-DNDEBUG +CFLAGS = -I. -I$(PYSRC) -Wall -Werror -ansi -std=gnu99 -Os #-DNDEBUG LDFLAGS = -lm SRC_C = \ @@ -29,6 +29,9 @@ PY_O = \ emitnthumb.o \ emitinlinethumb.o \ runtime.o \ + map.o \ + obj.o \ + builtin.o \ vm.o \ showbc.o \ repl.o \ diff --git a/unix/main.c b/unix/main.c index faf8e5b276..e5aa9de15b 100644 --- a/unix/main.c +++ b/unix/main.c @@ -10,6 +10,7 @@ #include "parse.h" #include "compile.h" #include "runtime.h" +#include "obj.h" #include "repl.h" #include <readline/readline.h> |