diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-17 18:03:27 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-17 18:03:27 +0100 |
commit | d553be5982722fc5ee5240fbfb15697849881ced (patch) | |
tree | 4312b491aaee255ed7d8dbffe74f79011de1c426 /unix | |
parent | 2d1f865d16c5a7e27f5e46c96d087a7ff8a49012 (diff) | |
download | micropython-d553be5982722fc5ee5240fbfb15697849881ced.tar.gz micropython-d553be5982722fc5ee5240fbfb15697849881ced.zip |
build: Simplify build directory layout by putting all headers in genhdr.
Any generated headers go in $(BUILD)/genhdr/, and are #included as
'genhdr/xxx.h'.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/Makefile | 2 | ||||
-rw-r--r-- | unix/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/Makefile b/unix/Makefile index 1a29363c91..ec02ad5004 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -12,7 +12,7 @@ include ../py/py.mk INC = -I. INC += -I$(PY_SRC) -INC += -I$(BUILD)/includes +INC += -I$(BUILD) # compiler settings CFLAGS = $(INC) -Wall -Werror -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT) diff --git a/unix/main.c b/unix/main.c index e582244b39..b9b8fe0b9f 100644 --- a/unix/main.c +++ b/unix/main.c @@ -22,7 +22,7 @@ #include "runtime.h" #include "repl.h" #include "gc.h" -#include "build/py/py-version.h" +#include "genhdr/py-version.h" #if MICROPY_USE_READLINE #include <readline/readline.h> |