From 1d226189ab95c481f771ce62853af4118024f66f Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 2 Nov 2016 18:02:31 -0400 Subject: build system: added source tree and generated headers to compiler include path. --- project/extras.mk | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/project/extras.mk b/project/extras.mk index cc65b9d..6d0940a 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -1 +1,35 @@ include $(PROJECT_DIR)/project/codegen.mk + +CFLAGS_COMMON += -I$(SOURCE_DIR)/include/libfirm +CFLAGS_COMMON += -I$(SOURCE_DIR)/include/libfirm/adt + +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/adt +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/ana +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/be +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/common +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/ident +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/ir +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/kaps +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/libcore +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/lower +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/lpp +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/obstack +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/opt +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/stat +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/tr +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/tv + +CFLAGS_COMMON += -Ibuild/gen/include/libfirm +CFLAGS_COMMON += -Ibuild/gen/ir/ir + +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/be/arm +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/be/amd64 +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/be/ia32 +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/be/sparc +CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/be/TEMPLATE + +CFLAGS_COMMON += -Ibuild/gen/ir/be/arm +CFLAGS_COMMON += -Ibuild/gen/ir/be/amd64 +CFLAGS_COMMON += -Ibuild/gen/ir/be/ia32 +CFLAGS_COMMON += -Ibuild/gen/ir/be/sparc +CFLAGS_COMMON += -Ibuild/gen/ir/be/TEMPLATE -- cgit v1.2.3