From d553be5982722fc5ee5240fbfb15697849881ced Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 17 Apr 2014 18:03:27 +0100 Subject: 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'. --- unix/Makefile | 2 +- unix/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'unix') 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 -- cgit v1.2.3