diff options
author | Damien George <damien.p.george@gmail.com> | 2015-01-01 20:41:52 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-01-01 20:41:52 +0000 |
commit | b36be5ff5172c97a8f37228c1ec163df466fd588 (patch) | |
tree | c441d97070d03dd9644aeb2ae6a70ae1390b1c47 | |
parent | 6d7e47087fa40a360aa38a576c245e797564dbbe (diff) | |
download | micropython-b36be5ff5172c97a8f37228c1ec163df466fd588.tar.gz micropython-b36be5ff5172c97a8f37228c1ec163df466fd588.zip |
unix-cpy: Prefix includes with py/; remove need for -I../py.
-rw-r--r-- | unix-cpy/Makefile | 1 | ||||
-rw-r--r-- | unix-cpy/main.c | 16 |
2 files changed, 5 insertions, 12 deletions
diff --git a/unix-cpy/Makefile b/unix-cpy/Makefile index 6a60c35330..9f8ad3b51c 100644 --- a/unix-cpy/Makefile +++ b/unix-cpy/Makefile @@ -8,7 +8,6 @@ include ../py/py.mk INC = -I. INC += -I.. -INC += -I$(PY_SRC) INC += -I$(BUILD) # compiler settings diff --git a/unix-cpy/main.c b/unix-cpy/main.c index 002e26af8c..245fc0b17a 100644 --- a/unix-cpy/main.c +++ b/unix-cpy/main.c @@ -29,17 +29,11 @@ #include <stdio.h> #include <string.h> -#include "mpconfig.h" -#include "nlr.h" -#include "misc.h" -#include "qstr.h" -#include "lexer.h" -#include "parse.h" -#include "obj.h" -#include "parsehelper.h" -#include "compile.h" -#include "runtime.h" -#include "pfenv.h" +#include "py/nlr.h" +#include "py/parsehelper.h" +#include "py/compile.h" +#include "py/runtime.h" +#include "py/pfenv.h" void do_file(const char *file) { mp_lexer_t *lex = mp_lexer_new_from_file(file); |