From b36be5ff5172c97a8f37228c1ec163df466fd588 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 1 Jan 2015 20:41:52 +0000 Subject: [PATCH] unix-cpy: Prefix includes with py/; remove need for -I../py. --- unix-cpy/Makefile | 1 - unix-cpy/main.c | 16 +++++----------- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/unix-cpy/Makefile b/unix-cpy/Makefile index 6a60c3533..9f8ad3b51 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 002e26af8..245fc0b17 100644 --- a/unix-cpy/main.c +++ b/unix-cpy/main.c @@ -29,17 +29,11 @@ #include #include -#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);